I have a bit of a strange issue. 

I have a Matplotlib FuncAnimation that runs correctly in a standalone 
script in IPython. It also runs correctly if I copy the entire script into 
a notebook cell and run it after the following magic

    %matplotlib notebook

However, if I use the following two magics

    %matplotlib notebook
    %run myscript.py

the animation does not run correctly. 

I'd prefer to use $run so that I can pass command line arguments to the 
script.

Any ideas why using the two magics approach would not work, but pasting the 
entire script into a cell does?

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/26b490aa-3c91-4ec9-b546-4f785f4cab0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to