Hello Janwillem,

On Sun, Aug 2, 2009 at 14:11, Janwillem<jwevand...@xs4all.nl> wrote:
>
> I have an application where I would like to use show in a loop but as stated
> in 18.1 of the manual that does not work.
> # WARNING : illustrating how NOT to use show
> for i in range(10):
>    # make figure i
>    show()

call show() outside teh loop:

for i in <list>:
    <make the figure>
plt.show()

and that would show all the figure generated up to there.

> So I made a workaround in a custom wxDialog with a wxStaticBitmap and a few

so, you want to embed in a WxWidgets application?

> To me it seems there might be a lot of unnecessary data handling. What is
> the clever solution?

Is the solution above fine for you?

Probably if you explain us better what you want to achieve, we can
help you in a better way.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to