You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add zoom_adjust param to pygmt.datasets.load_tile_map and Figure.tilemap (#2934)
The zoom_adjust parameter is used to adjust the automatic zoom level by integer increments.
This was added in contextily=1.5.0, see geopandas/contextily#228.
* Document that zoom_adjust requires contextily>=1.5.0
* Raise error if zoom_adjust parameter is used with contextily<1.5.0
* Add type hint for zoom_adjust parameter
* Fix typecheck by using np.array constructor instead of np.uint8
Fixes `error: Argument 1 to "unsignedinteger" has incompatible type "list[int]";
expected "SupportsInt | str | bytes | SupportsIndex" [arg-type]`
* Change directive for zoom_adjust from versionadded to note
* Use note and important admonitions in other parts of the docstring
* Rely on sphinx-autodoc-typehints
---------
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
0 commit comments