Skip to content

DOC: Update scalebar gallery example using the high-level Figure.scalebar method#4382

Merged
seisman merged 14 commits intomainfrom
update-gallery-scalebar
Feb 10, 2026
Merged

DOC: Update scalebar gallery example using the high-level Figure.scalebar method#4382
seisman merged 14 commits intomainfrom
update-gallery-scalebar

Conversation

@yvonnefroehlich
Copy link
Member

@yvonnefroehlich yvonnefroehlich commented Feb 1, 2026

Description of proposed changes

Update the gallery example for adding a scale bar to a map or plot using the newly implemented high-level method Figure.pygmt.scalebar.

Preview:

https://pygmt-dev--4382.org.readthedocs.build/en/4382/gallery/embellishments/scalebar.html

old new
image image
image image

Guidelines

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash command is:

  • /format: automatically format and lint the code

@yvonnefroehlich yvonnefroehlich added this to the 0.19.0 milestone Feb 1, 2026
@yvonnefroehlich yvonnefroehlich self-assigned this Feb 1, 2026
@yvonnefroehlich yvonnefroehlich added the documentation Improvements or additions to documentation label Feb 1, 2026
@yvonnefroehlich yvonnefroehlich marked this pull request as draft February 1, 2026 18:39
@yvonnefroehlich yvonnefroehlich marked this pull request as ready for review February 2, 2026 19:31
@yvonnefroehlich yvonnefroehlich changed the title WIP: DOC: Update scalebar gallery example to used highlevel method DOC: Update scalebar gallery example to used highlevel method Feb 4, 2026
@yvonnefroehlich yvonnefroehlich changed the title DOC: Update scalebar gallery example to used highlevel method DOC: Update scalebar gallery example to used high-level method Feb 5, 2026
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
@seisman
Copy link
Member

seisman commented Feb 8, 2026

Could you please rewrap some short lines to 88 characters, then this PR should be good to merge

@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Feb 9, 2026
@seisman seisman changed the title DOC: Update scalebar gallery example to used high-level method DOC: Update scalebar gallery example using the high-level Figure.scalebar method Feb 9, 2026
@seisman seisman merged commit f97dce9 into main Feb 10, 2026
7 of 10 checks passed
@seisman seisman deleted the update-gallery-scalebar branch February 10, 2026 07:11
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Feb 10, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants