mkdocs-jupyter icon indicating copy to clipboard operation
mkdocs-jupyter copied to clipboard

must specify renderer for showing Plotly graphs

Open butterlyn opened this issue 3 months ago • 0 comments

Please add to the documentation that you must specify the "notebook" renderer for plotly to work.

For example:

import plotly.express as px
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length")
fig.show(renderer="notebook")

The example code in the demo project no longer works without specifying the renderer.

butterlyn avatar Mar 23 '24 17:03 butterlyn