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()

but this program terminates without showing anything. Is there a
function that I can call that shows up the interactive window and only
returns once I close the window?


Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to