-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Blank plot in html using nbconvert (basic template) #1033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I finally managed to resolve my issue.
|
For Sphinx docs that use themes without jQuery on spatialaudio/nbsphinx#128, poliastro/poliastro#281, readthedocs/readthedocs.org#4367 Perhaps this is something that could be worked on the Plotly side? Could we please reopen this? |
Hi @Juanlu001, sure we can reopen this. So it looks to me like the JavaScript block emitted by plotly.py on plotly.py/plotly/offline/offline.py Lines 129 to 141 in 1e4a3c7
Could you summarize your current understanding of what's going wrong? Another approach would be to use the fact the |
Yes! Please read my comment here: |
Hi @Juanlu001, just following up. I haven't studied the thread in detail, but it seems like folks are making progress on the RTD side. Is there anything you see at this point that you need from plotly.py? |
@jonmmease Thanks! Progress is slow but I think it's been acknowledged that it's an issue on the RTD side - let's hope someone gives it the final push. |
Just for your information, I found that using holoviews method as follows fixed the exporting issue, even if I'm not using holoviews in the notebook at all (you'll need to import holoviews as hv
hv.extension('plotly') |
Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, so I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson |
Hi everyone,
I know that to convert a jupyter notebook (.ipynb) to an html I can use this command :
jupyter nbconvert --to html --template full myNotebook.ipynb
In this case I can successfully see my plot in the resulting html (myNotebook_full.html in
myNotebook.zip).
However, when I am trying to convert it using the basic template, there is a blank space instead of the plot
(myNotebook_basic.html in myNotebook.zip).
jupyter nbconvert --to html --template basic myNotebook.ipynb
Do you have an idea why ?
Thanks all for your work and support !
The text was updated successfully, but these errors were encountered: