SolarLinux
...when open source meets science
Pagine
Home page
Science
martedì 12 ottobre 2010
Python: how to open a plot without calling show() each time
Just add these lines to activate the matplotlib interactive mode:
from matplotlib
import interactive
interactive(True)
This way, the
show()
call is not necessary and the plotting window will be shown each time a plotting function is called.
Nessun commento:
Posta un commento
Post più recente
Post più vecchio
Home page
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento