I need to create a figure in a file without displaying it within IPython notebook. I am not clear on the interaction between IPython
and matplotlib.pylab
in this regard. But, when I call pylab.savefig("test.png")
the current figure get's displayed in addition to being saved in test.png
. When automating the creation of a large set of plot files, this is often undesirable. Or in the situation that an intermediate file for external processing by another app is desired.
Not sure if this is a matplotlib
or IPython
notebook question.
ioff
– Torquemada