Skip to content

Commit f581577

Browse files
committed
Correct drawmapscale() docstring
The drawmapscale docstring (and thus, the Basemap documentation) incorrectly refers to 'color' and 'labelstype' keyword arguments. These have been corrected to 'fontcolor' and 'labelstyle', respectively.
1 parent 1d7664c commit f581577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mpl_toolkits/basemap/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4379,8 +4379,8 @@ def drawmapscale(self,lon,lat,lon0,lat0,length,barstyle='simple',\
43794379
to the styles provided by Generic Mapping Tools).
43804380
Default ``simple``.
43814381
fontsize for map scale annotations, default 9.
4382-
color for map scale annotations, default black.
4383-
labelstype ``simple`` (default) or ``fancy``. For
4382+
fontcolor for map scale annotations, default black.
4383+
labelstyle ``simple`` (default) or ``fancy``. For
43844384
``fancy`` the map scale factor (ratio betwee
43854385
the actual distance and map projection distance
43864386
at lon0,lat0) and the value of lon0,lat0 are also

0 commit comments

Comments
 (0)