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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -