We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realized from https://forum.generic-mapping-tools.org/t/customizing-gridlines-labels-and-scalebar-in-pygmt/4169 that we didn't have an example on how to configure a scale bar in PyGMT!
The example could follow along the lines of https://docs.generic-mapping-tools.org/6.4/cookbook/features.html#placing-map-scales, and show how to:
j
+w
+f
+l
+u
Starting example:
fig = pygmt.Figure() with pygmt.config(MAP_SCALE_HEIGHT="20p"): fig.basemap( region=[-45, -25, -15, 0], projection="M6c", frame=True, map_scale="jBR+w1800k+o0.5c/0.5c+f+lkm", ) fig.show()
produces
Bonus: The current documentation for fig.basemap(..., map_scale="") is currently very short, so we could also expand it, or at least link to https://docs.generic-mapping-tools.org/6.4/cookbook/features.html#placing-map-scales.
fig.basemap(..., map_scale="")
References:
No
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description of the desired feature
Realized from https://forum.generic-mapping-tools.org/t/customizing-gridlines-labels-and-scalebar-in-pygmt/4169 that we didn't have an example on how to configure a scale bar in PyGMT!
The example could follow along the lines of https://docs.generic-mapping-tools.org/6.4/cookbook/features.html#placing-map-scales, and show how to:
j
+w
+f
+l
or distance unit using+u
Starting example:
produces
Bonus: The current documentation for
fig.basemap(..., map_scale="")
is currently very short, so we could also expand it, or at least link to https://docs.generic-mapping-tools.org/6.4/cookbook/features.html#placing-map-scales.References:
Are you willing to help implement and maintain this feature?
No
The text was updated successfully, but these errors were encountered: