Skip to content

Commit 7ab2a85

Browse files
committed
Use new values for position_type
1 parent 3e77f76 commit 7ab2a85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/src/scalebar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def scalebar( # noqa: PLR0913
6161
>>> fig.basemap(region=[0, 80, -30, 30], projection="M10c", frame=True)
6262
>>> fig.scalebar(
6363
... position=(10, 10),
64-
... position_type="user",
64+
... position_type="mapcoords",
6565
... length=1000,
6666
... fancy=True,
6767
... label="Scale",

0 commit comments

Comments
 (0)