On Tue, Apr 20, 2010 at 8:56 AM, Nikolaus Rath <Nik...@ra...> wrote:
> Hello,
>
> When I'm calling the pyplot.plot function from ipython, I get a nice
> dialog in which I can zoom, pan & save.
>
> How can I achieve the same thing from a non-interactive program?
>
> I tried
>
> fig = plt.figure()
> ax = fig.add_subplot(111)
> ax.contourf(stuff)
> fig.show()
Use plt.show() instead of fig.show()
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
|