We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efdbfd commit d503268Copy full SHA for d503268
pygmt/src/tilemap.py
@@ -120,17 +120,16 @@ def tilemap(
120
"to install the package."
121
)
122
123
+ raster = load_tile_map(
124
+ region=region,
125
+ zoom=zoom,
126
+ source=source,
127
+ lonlat=lonlat,
128
+ wait=wait,
129
+ max_retries=max_retries,
130
+ )
131
with GMTTempFile(suffix=".tif") as tmpfile:
- raster = load_tile_map(
- region=region,
- zoom=zoom,
- source=source,
- lonlat=lonlat,
- wait=wait,
- max_retries=max_retries,
- )
132
raster.rio.to_raster(raster_path=tmpfile.name)
133
-
134
with Session() as lib:
135
lib.call_module(
136
module="grdimage", args=build_arg_string(kwargs, infile=tmpfile.name)
0 commit comments