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

前端 未结 8 1513
粉色の甜心
粉色の甜心 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:34

    I have myself encountered a similar issue, with a sunburst plot. The blank plot was due to invalid data. I would have expected to get an error at runtime, but it appears that in some rare cases, no error is raised, and a blank plot is displayed instead.

    Therefore, check your data validity, or perform a test with dummy data provided on plotly doc, in order to test if the problem comes from data or plotly/notebook interface.

提交回复
热议问题