You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING /scratch/jfrost/cset-workflow-env/lib/python3.12/site-packages/CSET/operators/plot.py:140: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (matplotlib.pyplot.figure) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam figure.max_open_warning). Consider using matplotlib.pyplot.close().
So it looks like we just need to close them after saving.
The text was updated successfully, but these errors were encountered:
Refactors the plotting code to use the explicit (object-oriented)
matplotlib API. Figures are explicitly closed, preventing memory
leaking. Also added a super-title to the postage stamp plots, so
the diagnostic title is there too.
Fixes#481
So it looks like we just need to close them after saving.
The text was updated successfully, but these errors were encountered: