python - How to stop matplotlib.pyplot.show() from removing all figures? -
after plotting several figures matplotlib, can keep track of figures plt.get_fignums(). if call plt.show() , plt.get_fignums() return empty list. afterwards, when call plt.show(), ignored.
question: there equivalent function plt.show() show figures in maintained matplotlib not affect internal state of matplotlib , can called multiple times same results?
i know that
for fn in plt.get_fignums(): plt.figure(fn).show() will job. there built-in solution?
Comments
Post a Comment