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