On 2/16/11 9:04 PM, guillaume.ducl...@csiro.au wrote:
> Hi folks,
>
> I'm new to this list and first of all I'd like to thank all the matplotlib 
> developers for putting together such a great package!!
>
> I've been using the Basemap toolkit recently and notice that the scale is 
> generated on a zorder=0 layer.
>
> [cid:DCC4059E-E115-401E-8A20-C35486E9B4FC@arrc.csiro.au]
>
> I sometimes have to stack different layers and assign them a zorder argument 
> to play with their ranking. This can results in the masking of the scale bar:
>
>
> [cid:A49D1B05-8ACA-4FEE-97B2-7179298898BA@arrc.csiro.au]
>
> As a workaround, I can set a negative zorder for the various features that 
> could overlay the scale on the map, though.
> Still, I think it would be nice to be able to have a supplementary karg added 
> to the class.
>
> Cheers
> Gill

Done (svn revision 8983).  If you don't want to update from svn, you 
just iterate over the list returned by drawmapscale and use the 
'set_zorder' method of each element.

-Jeff

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to