Re: [Matplotlib-users] calling show() twice in a row

2009-07-07 Thread Ondrej Certik
Hi Matthias! many thanks for the help, that was it. I will now remember to use show() only once and use other techniques to create something like show(), but that can be called multiple times. Thanks, Ondrej On Tue, Jul 7, 2009 at 5:35 AM, Matthias Michler wrote: > Hi Ondrej, > > I'm not sure wh

Re: [Matplotlib-users] calling show() twice in a row

2009-07-07 Thread Matthias Michler
Hi Ondrej, I'm not sure where to find a good explanation of that, but let me give you some hints. It is intended to use show only once per program. Namely 'show' should be the last line in your script. If you want interactive plotting you may consider interactive mode (pyplot.ion-ioff) like in

Re: [Matplotlib-users] calling show() twice in a row

2009-07-05 Thread Ondrej Certik
On Tue, Jun 30, 2009 at 12:09 PM, Ondrej Certik wrote: > Hi, > > this must have been answered many times already, but I searched the > archives, online docs, but couldn't find anything. > > If I do: > > $ python > Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) > [GCC 4.3.3] on linux2 > Type

[Matplotlib-users] calling show() twice in a row

2009-06-30 Thread Ondrej Certik
Hi, this must have been answered many times already, but I searched the archives, online docs, but couldn't find anything. If I do: $ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> impo