fmihpc / analysator

Python based package for analyzing vlsv files produced by Vlasiator
GNU General Public License v2.0
5 stars 32 forks source link

Close figures after save #240

Closed JonasSuni closed 3 months ago

JonasSuni commented 4 months ago

Added plt.close() to the plot functions where the figure is attempted to be saved, and not when draw=1 or axes!=None. This should help with matplotlib complaining about too many figures being open at the same time.