plotly plots in jupyter notebooks: Validation fails when saving

前端 未结 3 2268
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 21:06

I\'am new to plotly and I\'am having a problem with my plots when generating them inside jupyter notebooks.

Whenever I generate a plot, evrything works fine, but when I

相关标签:
3条回答
  • 2021-02-19 21:23

    The ploty team fixed the issue, here is the ticket

    Upgrading nbformat, with either

    pip install --upgrade nbformat
    

    or

    conda update nbformat
    

    fixes it.

    0 讨论(0)
  • 2021-02-19 21:37

    I got the same problem but the answer above didn't help me. I tried then conda update --all but this didn't help too.

    Later I was given the link: https://gitmemory.com/issue/jupyter/nbformat/161/574959380. So, I opened ipynb file with text editor, replaced "nbformat_minor": 1 with "nbformat_minor": 4 and saved the file. After reloading the notebook the problem was fixed.

    0 讨论(0)
  • 2021-02-19 21:38

    As in gerard's answer pip install --upgrade nbformat solved the issue, however conda (which I tried before pip) didn't solve the issue.

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