show() in pylab doesn't work if used twice

Ravikanth vvnrk.vanapalli at
Wed Jul 6 20:29:02 EDT 2011

On Jul 6, 6:26 pm, Robert Kern <robert.k... at> wrote:
> On 7/6/11 5:05 PM, Ravikanth wrote:
> > Hi all,
> > I have been using python for just over a month now.
> > I am writing a program to plot some graph using the  show() twice in
> > the same program. The code snippet is shown below.
> Please use the matplotlib-users list for matplotlib questions. By the way, four
> versions of your message made it to this list. I'm sure the repetition was an
> honest mistake, but there may be things you can do to prevent it in the future.
> To answer your question, you are probably using an older version of matplotlib
> than 1.0.0. The ability to use show() more than once was only added in 1.0.0:
> --
> Robert Kern
> "I have come to believe that the whole world is an enigma, a harmless enigma
>   that is made terrible by our own mad attempt to interpret it as though it had
>   an underlying truth."
>    -- Umberto Eco

Hi Robert,

Thank you for the link.

I did not see my post posted onto the groups after i sent my query,
which usually does happen in a few minutes. So I thought i posted it
wrongly and reposted it. My apologies for inconvenience.
I'll make sure this does not repeat.


More information about the Python-list mailing list