Skip to content

Figure.scalebar: Remove the note that height only works for fancy scalebar#4750

Merged
seisman merged 1 commit into
mainfrom
scalebar/doc
Jul 22, 2026
Merged

Figure.scalebar: Remove the note that height only works for fancy scalebar#4750
seisman merged 1 commit into
mainfrom
scalebar/doc

Conversation

@seisman

@seisman seisman commented Jul 22, 2026

Copy link
Copy Markdown
Member

MAP_SCALE_HEIGHT works for both plain and fancy scalebars, which can be verified below:

gmt begin map
gmt basemap -R0/20/0/10 -JM10c -Baf
gmt basemap -Lx1/1+w300k
gmt basemap -Lx3/1+w300k+f
gmt basemap -Lx5/1+w300k --MAP_SCALE_HEIGHT=1c
gmt basemap -Lx7/1+w300k+f --MAP_SCALE_HEIGHT=1c
gmt end show
map

@seisman seisman added this to the 0.20.0 milestone Jul 22, 2026
@seisman seisman added documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Jul 22, 2026

@yvonnefroehlich yvonnefroehlich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this!

@seisman
seisman merged commit b38753e into main Jul 22, 2026
28 checks passed
@seisman
seisman deleted the scalebar/doc branch July 22, 2026 22:52
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants