The current behaviour of the plotting script is to save the figure as a png.
Requested behaviour: enable turning this savefig line off, so that the function returns the figure without saving the figure.
The proposed use is to run the plotting function which returns the fig, have the user adapt a few things, and then save the figure.
Suggestion: add savefig = True/False and is True, then save figure as normal.
The current behaviour of the plotting script is to save the figure as a png. Requested behaviour: enable turning this savefig line off, so that the function returns the figure without saving the figure. The proposed use is to run the plotting function which returns the fig, have the user adapt a few things, and then save the figure. Suggestion: add savefig = True/False and is True, then save figure as normal.