Dynesty sampler unexpectedly closing all plots
I've noticed when I run bilby with either the dynesty or dynamic dynesty samplers, any plots I had open before calling run_sampler are closed. I think this may be caused by a few calls to matplotlib closing all figures (plt.close('all')) in the plot_current_state() function of the dynesty sampler. Would it be possible to change these so that they only close the figures created by running bilby, and not any other plots opened by other parts of a script?
Thanks!