Try to put plt.draw() before plt.show().

My guess is that what show() does is to create figure windows, and in
most cases it does not redraw the figure (Tk backend is always an
exception). So, this may not be a bug.
But I hope some who knows well about the backends clarify this.

Regards,

-JJ




On Wed, May 6, 2009 at 8:14 PM, Christopher Barker
<chris.bar...@noaa.gov> wrote:
> Gökhan SEVER wrote:
>> I am playing with some other commands to achieve updating on the same
>> figure, no luck yet.
>>
>> I guess that is what you actually been trying to see? Update the
>> figure content without opening another one?
>
> right.
>
> Christopher Barker wrote:
>
>> oops, no it doesn't -- what that does is give me a new figure each time,
>> so I get a big stack of them. So I tried:
>>
>> fig = plt.figure(1)
>> fig.clear()
>>
>> then I didn't get a new figure, but I didn't get the figure updated,
>> either -- could this be a back-end bug? I'm using wxAgg, and IIRC, the
>> refreshing code is pretty messed up..
>>
>> Off to try TK
>
> OK, with TK, it does refresh when I expect it to. So now to write a new
> thread, on a wxAgg refresh bug.
>
> -Chris
>
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> chris.bar...@noaa.gov
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to