On Thu, Feb 14, 2008 at 9:17 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote:
> On Thu, 14 Feb 2008, John Hunter apparently wrote:
>  > import numpy as np
>  > import matplotlib
>  > matplotlib.use('Agg')
>  > import matplotlib.pyplot as plt
...snip
>  > fig.savefig('myplot.png', dpi=100)
>  > plt.show()
>
>  Does that ``show`` command have any effect?
>  (I know the effect for TkAgg.)
>  I tried clicking the ``show`` help at

In this case no, since we are using an image backend.  But if we want
the script to be robust in the presence of different use directives,
eg matplotlib.use('TkAgg') then it is good to have the show in there.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to