Pyplot

Robert Kern robert.kern at gmail.com
Thu Jul 30 13:24:52 EDT 2009


On 2009-07-30 04:02, Kaan AKŞİT wrote:
> I am a newbee in Python. I have some problem with usage of Pyplot. I
> have a loop that creates plot in every end of it. Problem starts here:
> The first plot is fine but the second one is plotted onto the first
> plot. I use:
>
> plt.cla()
> plt.draw()
> plt.hold(False)
> plt.close()
> plt.clf()
>
> but nothing works. Perhaps I am having a problem with basics, please
> help me if you know something about it.

Create a new window by using figure().

You will want to ask matplotlib questions on the matplotlib mailing list:

   https://lists.sourceforge.net/lists/listinfo/matplotlib-users

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




More information about the Python-list mailing list