[Numpy-discussion] matplotlib is breaking numpy
Mathew Yeates
mat.yeates at gmail.com
Thu Nov 19 12:52:20 EST 2009
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
> del mydata
I can't get rid of the file until I exit python!!
Does matplotlib keep a reference to the data? How can I remove this
reference?
Mathew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20091119/967a8a2e/attachment.html>
More information about the NumPy-Discussion
mailing list