plotly.offline.iplot gives a large blank field as its output in Jupyter Notebook/Lab

前端 未结 8 1515
粉色の甜心
粉色の甜心 2020-12-17 09:17

I am trying to create a Sankey chart in a Jupyter notebook, basing my code on the first example shown here.

I ended up with this, which I can run without getting any

相关标签:
8条回答
  • 2020-12-17 09:49

    For me helped change notebook to Trusted (this enabled Javascript and give plotly way to build graph into the jupyter notebook.).

    This option you can found here:

    0 讨论(0)
  • 2020-12-17 09:50

    I have had similar issues with plotly offline in Jupyter in the past - sometimes it's surprisingly inconsistent when/why the plots fail to appear. It may be worth a try starting with an increased data rate limit.

    jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10

    0 讨论(0)
提交回复
热议问题