clawpack / riemann_book

An interactive book about the Riemann problem for hyperbolic PDEs, using Jupyter notebooks.
BSD 3-Clause "New" or "Revised" License
266 stars 96 forks source link

kitchen sink animations not working on Azure #86

Open rjleveque opened 7 years ago

rjleveque commented 7 years ago

@ketch: The ianimates in Kitchen_sink_problem.ipynb seem to produce empty axes. I haven't investigated...

ketch commented 7 years ago

They work fine for me (tested just now). Must be something that changed in your setup?

maojrs commented 7 years ago

Having the same problem here, empty axes. I will try to look into it.

ketch commented 7 years ago

Maybe make sure you have updated visclaw. No idea if that's the cause, though.

ketch commented 7 years ago

Did they work for you in the past?

maojrs commented 7 years ago

Just updated visclaw, same problem. Didn't try to run them in the past, so I am not sure if they worked before.

rjleveque commented 7 years ago

For me it works locally, it's only on Azure that it seems broken.

But now when I tried it again I'm having problems installing clawpack on Azure. Can someone else try executing Install-packages.ipynb and then Kitchen_sink_problem.ipynb on Azure and see if you run into the same thing. This worked before...

https://notebooks.azure.com/rjleveque/libraries/riemann-book

ketch commented 7 years ago

Clawpack doesn't install correctly for me on Azure (I get "no module named clawpack" when I try to import it after installing).

ketch commented 7 years ago

I restarted the notebook and ran it again and it works now. And I do get blank animations in the Kitchen sink notebook. I suspect that this is simply because Azure and JSAnimation are not playing well together. Are there JSAnimations in other notebooks that work on Azure?

It's clear that PyClaw is running fine since the static plots of PyClaw simulation results show up correctly.

rjleveque commented 7 years ago

Right, Clawpack can't be imported in the notebook used to do the installation or other notebooks already open (unless you restart the kernel).

JSAnimation does work in Introduction.ipynb on Azure -- change the import widgets statement to from utils.jsanimate_widgets import interact to test.