Re: [Matplotlib-users] Basemap & ax parameter : bug or feature ?

2009-06-24 Thread Jeff Whitaker
Pierre GM wrote: > On Jun 23, 2009, at 6:01 PM, Jeff Whitaker wrote: > >> Pierre: Doing what you suggest (having Basemap.__init__ >> automatically set self.ax to the current axes) will break pickling, >> so I can't do that. >> > > Oh, I'm sorry for the misunderstanding: I never sugges

Re: [Matplotlib-users] Basemap & ax parameter : bug or feature ?

2009-06-23 Thread Pierre GM
On Jun 23, 2009, at 6:01 PM, Jeff Whitaker wrote: >> > Pierre: Doing what you suggest (having Basemap.__init__ > automatically set self.ax to the current axes) will break pickling, > so I can't do that. Oh, I'm sorry for the misunderstanding: I never suggested that Basemap.ax should be se

Re: [Matplotlib-users] Basemap & ax parameter : bug or feature ?

2009-06-23 Thread Jeff Whitaker
Pierre GM wrote: > > On Jun 23, 2009, at 8:27 AM, Jeff Whitaker wrote: >> >> Pierre: The reason I did it that way was so that the basemap >> instance could be created independent of any axes instances. For >> instance, you can create a basemap instance before an axes instance >> is created, or

Re: [Matplotlib-users] Basemap & ax parameter : bug or feature ?

2009-06-23 Thread Jeff Whitaker
Pierre GM wrote: > All (and Jeff W. in particular), > > It's the time of the year where I have to draw maps in batch. I wrote > a script to process some data recorded at various stations, > interpolate the data on a grid, draw the corresponding contours on a > basemap, add a colorbar, and end

[Matplotlib-users] Basemap & ax parameter : bug or feature ?

2009-06-22 Thread Pierre GM
All (and Jeff W. in particular), It's the time of the year where I have to draw maps in batch. I wrote a script to process some data recorded at various stations, interpolate the data on a grid, draw the corresponding contours on a basemap, add a colorbar, and end with adding some extra info