plotly basic example shows no plot in jupyter lab

后端 未结 2 1869
無奈伤痛
無奈伤痛 2021-01-13 11:30

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         


        
2条回答
  •  有刺的猬
    2021-01-13 11:53

    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

提交回复
热议问题