I just tried to use plotly offline in a jupyter notebook (using jupyter lab). The docs gives this example:
import plotly
import plotly.graph_objs as go
plo
Have you installed Plotly JupyterLab extension? It will not work inline without it. You can get it here: https://github.com/jupyterlab/jupyter-renderers/tree/master/packages/plotly-extension
or just install via terminal: jupyter labextension install @jupyterlab/plotly-extension
I don't have enough points to add the comment: The @jupyterlab/plotly-extension has been deprecated in favor of the plotly supported render extension, which is at: https://www.npmjs.com/package/jupyterlab-plotly.
Install via:
jupyter labextension install jupyterlab-plotly