From: Mathew Y. <mat...@gm...> - 2009-11-19 17:52:27
|
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 |