Skip to content

Commit 074835c

Browse files
committed
Revert order of items in wms_keys
The original order in the PR was the same order as the function signature for `WebMapService`, so let's keep it.
1 parent eabea54 commit 074835c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/basemap/src/mpl_toolkits/basemap/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4452,8 +4452,8 @@ def wmsimage(self,server,\
44524452
if ypixels is None:
44534453
ypixels = int(self.aspect*xpixels)
44544454
if verbose: print(server)
4455-
wms_keys = ["version", "xml", "username", "password", "auth",
4456-
"headers", "timeout", "parse_remote_metadata"]
4455+
wms_keys = ["version", "xml", "username", "password",
4456+
"parse_remote_metadata", "timeout", "headers", "auth"]
44574457
wms_options = {k: kwargs[k] for k in wms_keys if k in kwargs}
44584458
kwargs = {k: kwargs[k] for k in kwargs if k not in wms_keys}
44594459
wms = WebMapService(server, **wms_options)

0 commit comments

Comments
 (0)