Closed stakaz closed 6 years ago
Ok, the problem was that I have to call plt[:close]()
after display(gcf())
in order to not get over 20 plots saved by matplotlib somewhere and kept in memory. Before the last update of julia packages I just had a warning from matplotlib that there are over 20 plots but now this error arises.
This is likely https://github.com/JuliaPy/PyCall.jl/issues/71
cbook._warn_external
does not check if frame
is None
: https://github.com/matplotlib/matplotlib/blob/4dbbd22095e32b77053aab403c442934f18ade71/lib/matplotlib/cbook/__init__.py#L1991-L1998
Its' fixed upstream: https://github.com/matplotlib/matplotlib/pull/12771
Hello, I am trying to show the plots in the plots pane and it works fine until at some point I get this warning:
I cannot understand what this is all about, can someone help me?
The produced plots are the same so there should be some other reason (maybe to many plots opened at the same time or something like this).
Thanks.