Re: [Matplotlib-users] figure: underlying C/C++ object has been deleted

2010-03-15 Thread tomislav_ma...@gmx.com
igure: underlying C/C++ object has been deleted tomislav_ma...@gmx.com wrote: [...] > > Here is the code with the error: > > > http://pastebin.com/3QUws70n > > > > I don't understand, why would a figure object get deleted after it's > shown on the scr

Re: [Matplotlib-users] figure: underlying C/C++ object has been deleted

2010-03-15 Thread Eric Firing
tomislav_ma...@gmx.com wrote: [...] > > Here is the code with the error: > > > http://pastebin.com/3QUws70n > > > > I don't understand, why would a figure object get deleted after it's > shown on the screen? What am I doing wrong? This is a common "gotcha": don't use pyplot.show() anywhere

[Matplotlib-users] figure: underlying C/C++ object has been deleted

2010-03-15 Thread tomislav_ma...@gmx.com
Hi, I forgot to write something in my last email: I just wish to thank the developers of this insanely great tool. Long live open source. Thank you very much for this, it's the best data/graph manipulation software ever. Now, for my question: I'm not sure if I misunderstood something, or is i