I tried it both ways and got the same results.
In my cell where I pasted the entire script, I have the %matplotlib
notebook at the top of that same cell and the script runs correctly. It
also runs correctly if I move the %matplotlib notebook into a cell by
itself.
The only time the script does n
Are you using the two magics in one cell, or over two cells? Some of the
effects of the %matplotlib magic may not take effect until the next cell.
On 15 January 2018 at 13:31, wrote:
> I have a bit of a strange issue.
>
> I have a Matplotlib FuncAnimation that runs correctly in a standalone
> sc
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 m