seismo-live / seismo_live

Live Jupyter Notebooks for Seismology
http://seismo-live.org
78 stars 73 forks source link

try to fix mangled images in PPSD notebook #4

Closed megies closed 8 years ago

megies commented 8 years ago

hope to fix broken images in PPSD notebooks..

krischer commented 8 years ago

Uhh..even with Python 3 ;-) Thanks!

megies commented 8 years ago

Uhh..even with Python 3 ;-) Thanks!

Saved from within seismo-live.org tmpnbserver.. ;-)

Did you update the live instance already? Right now images are still broken on the server..

krischer commented 8 years ago

Yea..I cannot get it to work. Also does not work on a local conda installation of mine.

megies commented 8 years ago

Can you try this one on your computer? (Before saving to .ipynb, made all images static by clicking the top-right "X" in the nbagg images)

Probabilistic Power Spectral Densities.ipynb.txt

EDIT: Uploaded it into a live tmpnb and images look OK to me..

krischer commented 8 years ago

also does not work (at least on my machine). What version of the dependencies are you running? Mine:

ipywidgets                4.1.1                    py35_0    defaults
jupyter                   1.0.0                    py35_2    defaults
jupyter-client            4.2.2                     <pip>
jupyter-console           4.1.1                     <pip>
jupyter-core              4.1.0                     <pip>
jupyter_client            4.2.2                    py35_0    defaults
jupyter_console           4.1.1                    py35_0    defaults
jupyter_core              4.1.0                    py35_0    defaults
matplotlib                1.5.1               np110py35_0    defaults
megies commented 8 years ago

also does not work (at least on my machine). What version of the dependencies are you running? Mine:

Saved from within seismo-live.org tmpnbserver.. ;-)

Dependencies of server..

krischer commented 8 years ago

Can you open it (without uploading) on your machine? If yes - I'll just update the server once again and we'll see what happens ;-)

megies commented 8 years ago

Nah.. you're right, doesn't work for me either (in my Python2 Jupyter). Also just seeing those Javascript messages.. So embedded images probably don't work with nbagg?

krischer commented 8 years ago

Yea I guess so :-( According to some internet searches it should work when closing the figure but I also cannot get it to work. So I guess we cannot use the nbagg backend?