Stephane Raynaud wrote: > Hi, > > how about adding the possibility to give a Basemap instance to the > resolution parameter when creating a new Basemap object, and to > directly set some of its attributes (like coastsegs, cntrysegs, etc) > thus preventing from computing them? > It may be interesting when plotting several equavalent maps with fine > resolution. > > It's easy to do it manually once you now all needed attributes, but it > would be better to have it natively integrated. > > > Stephane: The boundary datasets associated with one Basemap instance cannot be used with another (at least not in general). The coordinates of the boundaries are transformed to map projection coordinates, and clipped to the map projection region. So, if you have been doing this successfully, you've been lucky.
However, you can and should reuse Basemap instances, to make multiple plots on the same map projection region. You can even pickle them, to reuse in other scripts. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel