Basemap.drawmapscale: units='m'

Hi Jeff,

how about allowing units to be set as meters when calling Basemap.drawmapscale ?
And maybe adding the keyword "format" for formatting numeric values.
That would be interesting when plotting maps with small area.

Thanks.

···

--
Stephane Raynaud

Stephane Raynaud wrote:

Hi Jeff,

how about allowing units to be set as meters when calling Basemap.drawmapscale ?
And maybe adding the keyword "format" for formatting numeric values.
That would be interesting when plotting maps with small area.

Thanks.

Stephane: I don't use the drawmapscale function very much (it was contributed by another user). If you would like to submit a patch, I'd be happy to test it and then commit it.

-Jeff

Here it is.

drawmapscale.patch (3.82 KB)

···

On Tue, Oct 6, 2009 at 12:19 PM, Jeff Whitaker <jswhit@...196...> wrote:

Stephane Raynaud wrote:

Hi Jeff,

how about allowing units to be set as meters when calling
Basemap.drawmapscale ?
And maybe adding the keyword "format" for formatting numeric values.
That would be interesting when plotting maps with small area.

Thanks.

Stephane: I don't use the drawmapscale function very much (it was
contributed by another user). If you would like to submit a patch, I'd be
happy to test it and then commit it.
-Jeff

--
Stephane Raynaud