Re: [Matplotlib-users] Basemap with OO interface

2014-03-20 Thread Remo Goetschi
Stupid me! I overlooked parameter 'ax' of class Basemap. You can pass an axis when creating a Basemap instance: ax = fig.add_axes([0., 0., 1., 1.]) map = Basemap(, ax=ax) Best, Remo On 03/19/2014 04:41 PM, Remo Goetschi wrote: > Dear matplotlib users, > > I'm having trouble using Basemap t

[Matplotlib-users] Basemap with OO interface

2014-03-19 Thread Remo Goetschi
Dear matplotlib users, I'm having trouble using Basemap through the object oriented interface of Matplotlib. All the examples on the website use pyplot. But that does not work if plots are generated in a parallel environment, i.e., in a web application, since pyplot is obviously not thread safe.