Closed
Description
I noticed that graphs printed as display(HTML(plot([{"x": [1, 2, 3], "y": [3, 1, 6]}], include_plotlyjs=True, output_type="div")))
are not visible in Notebook, only in JupyterLab.
I print them as a work around #1516 issue.
All examples are in the attached notebook, a minimal would be:
from IPython.display import display, HTML
import plotly.graph_objs as go
from plotly.offline import plot, iplot, init_notebook_mode
init_notebook_mode(connected=False)
display(HTML(plot([{"x": [1, 2, 3], "y": [3, 1, 6]}], include_plotlyjs=True, output_type="div")))
plotly 3.7.1
notebook 5.7.8
Metadata
Metadata
Assignees
Labels
No labels