Re: [Matplotlib-users] Saving a basemap plot background

2009-03-05 Thread Jose Gomez-Dans
Jeff, Solved, I think! 2009/3/3 Jose Gomez-Dans : > OK, I wasn't aware of this. However, memory consumption still flies. I am > aware that it could be other bits of the program that are eating up loads of > memory, but I don't know how to test where the bottleneck is. In the end, I > resorted to g

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-03 Thread Jose Gomez-Dans
Jeff, I've been doing some more tests today. 2009/3/3 Jeff Whitaker > >Jose: I think the key is to only create the basemap instance only >>once (for the main plot and for the inset), then re-use that >>basemap instance each time you create an animation frame. >> >> That helps in mem

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jeff Whitaker
Jose Gomez-Dans wrote: > Jeff, thanks for your comment > > 2009/3/2 Jeff Whitaker mailto:jsw...@fastmail.fm>> > > > Jose: I think the key is to only create the basemap instance only > once (for the main plot and for the inset), then re-use that > basemap instance each time you create an

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gomez-Dans
Jeff, thanks for your comment 2009/3/2 Jeff Whitaker > > Jose: I think the key is to only create the basemap instance only once (for > the main plot and for the inset), then re-use that basemap instance each > time you create an animation frame. That helps in memory consumption, and that's som

Re: [Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jeff Whitaker
Jose Gomez-Dans wrote: > Hi! > > [I think the message didn't get through the first time I sent it. > Resending, and apologies if you get it twice] > > I have a rather complex basemap-derived plot that I want to save as > animation. > In essence, it uses the blumarble() to add a nice background, p

[Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gómez-Dans
Hi! I have a rather complex basemap-derived plot that I want to save as animation. In essence, it uses the blumarble() to add a nice background, plots some stuff on top of that, and also has an inset with a map of the world that shows the area of the main map. The problem is that memory usage

[Matplotlib-users] Saving a basemap plot background

2009-03-02 Thread Jose Gomez-Dans
Hi! [I think the message didn't get through the first time I sent it. Resending, and apologies if you get it twice] I have a rather complex basemap-derived plot that I want to save as animation. In essence, it uses the blumarble() to add a nice background, plots some stuff on top of that, and als