> *From:* numpy-discussion-boun...@scipy.org [mailto:
> numpy-discussion-boun...@scipy.org] *On Behalf Of *Yeates, Mathew C (388D)
> *Sent:* Tuesday, December 01, 2009 6:53 PM
>
> *To:* Discussion of Numerical Python
> *Subject:* Re: [Numpy-discussion] a simple examplr showing nump
er 01, 2009 6:53 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] a simple examplr showing numpy and matplotlib
failing
I found a workaround. If I replace
> plot_data=data[0,0:,0]
With
> plot_data=numpy.copy(data[0,0:,0])
Everything is okay.
I am on Windows XP 64 with
simple examplr showing numpy and matplotlib
failing
Hi Mathew,
I saw your email and I was curious about it. I tried your code and it does
work for me without any problem.
Santanu
On Tue, Dec 1, 2009 at 2:58 PM, Michael Droettboom
mailto:md...@stsci.edu>> wrote:
Hmm... works for me. W
Hi Mathew,
I saw your email and I was curious about it. I tried your code and it
does work for me without any problem.
Santanu
On Tue, Dec 1, 2009 at 2:58 PM, Michael Droettboom wrote:
> Hmm... works for me. What platform, with how much physical and virtual RAM?
>
> One thing you may want t
Hmm... works for me. What platform, with how much physical and virtual RAM?
One thing you may want to try is to completely destroy the figure each time:
if fig:
fig.clf()
fig=None
Mike
Yeates, Mathew C (388D) wrote:
>
> Click on “Hello World” twice and get a memory error. Comment out the
> ax.
Click on "Hello World" twice and get a memory error. Comment out the ax.plot
call and get no error.
import numpy
import sys
import gtk
from matplotlib.figure import Figure
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as
FigureCanvas
ax=None
fig=None
canvas=None
def dop