Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread Mathew Yeates
yes, a GTK app from the python shell. And not using the toolbar. I'll see if I can extract out a sample of code that demonstrates the problem I'm having. Thx Mathew On Thu, Nov 19, 2009 at 10:56 AM, John Hunter wrote: > > > > > On Nov 19, 2009, at 12:53 PM, Mathew Yeates wrote: > > I am runnin

Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread John Hunter
On Nov 19, 2009, at 12:53 PM, Mathew Yeates wrote: I am running my gtk app from python. I am deleting the canvas and running gc.collect(). I still seem to have a reference to my memmapped data. Any other hints? Gtk app from the standard python shell? Are you using the mpl toolbar

Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread Mathew Yeates
I am running my gtk app from python. I am deleting the canvas and running gc.collect(). I still seem to have a reference to my memmapped data. Any other hints? -Mathew On Thu, Nov 19, 2009 at 10:42 AM, John Hunter wrote: > > > > > On Nov 19, 2009, at 12:35 PM, Mathew Yeates wrote: > > Yeah, I

Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread John Hunter
On Nov 19, 2009, at 12:35 PM, Mathew Yeates wrote: Yeah, I tried that. Here's what I'm doing. I have an application which displays different dataset which a user selects from a drop down list. I want to overwrite the existing plot with a new one. I've tried deleting just about eve

Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread Mathew Yeates
Yeah, I tried that. Here's what I'm doing. I have an application which displays different dataset which a user selects from a drop down list. I want to overwrite the existing plot with a new one. I've tried deleting just about everything get matplotlib to let go of my data! Mathew On Thu, Nov 19

Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread John Hunter
On Nov 19, 2009, at 11:57 AM, Robert Kern wrote: > On Thu, Nov 19, 2009 at 11:52, Mathew Yeates > wrote: >> There is definitely something wrong with matplotlib/numpy. Consider >> the >> following >>> from numpy import * >>> mydata=memmap('map.dat',dtype=float64,mode='w+',shape=56566500)

Re: [Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread Robert Kern
On Thu, Nov 19, 2009 at 11:52, Mathew Yeates wrote: > There is definitely something wrong with matplotlib/numpy. Consider the > following >>from numpy import * >>mydata=memmap('map.dat',dtype=float64,mode='w+',shape=56566500) >> del mydata > > I can now remove the file map.dat with (from the comma

[Numpy-discussion] matplotlib is breaking numpy

2009-11-19 Thread Mathew Yeates
There is definitely something wrong with matplotlib/numpy. Consider the following >from numpy import * >mydata=memmap('map.dat',dtype=float64,mode='w+',shape=56566500) > del mydata I can now remove the file map.dat with (from the command line) $rm map.dat However If I plot mydata before the line