GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Figure.basemap/Figure.coast: Recommend to use the Figure.scalebar method to add a scalebar by seisman · Pull Request #4337 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Jan 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

With the new Figure.scalebar method, we can deprecate the map_scale parameter in Figure.basemap/Figure.coast.

Please note that map_scale is only marked as deprecated in the docstrings, no warning will be raised.

Preview:

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@seisman seisman added this to the 0.19.0 milestone Jan 11, 2026
@seisman seisman added the deprecation Deprecating a feature label Jan 11, 2026
@seisman
seisman force-pushed the basemap/map_scale branch from db5ecb1 to 4ab63e9 Compare January 11, 2026 15:35
@seisman seisman mentioned this pull request Jan 12, 2026
Add Figure.scalebar to plot a scale bar on maps #4015
Merged
2 of 3 tasks
@seisman seisman changed the title Figure.basemap/Figure.coast: Deprecate the 'map_scale' parameter. Use 'Figure.scalebar' instead Figure.basemap/Figure.coast: Recommend to use the Figure.scalebar method to add a scalebar Jan 19, 2026
Base automatically changed from feature/scalebar to main January 21, 2026 02:48
@seisman
seisman force-pushed the basemap/map_scale branch from 83411f4 to 958c936 Compare January 21, 2026 03:02
@seisman
seisman marked this pull request as ready for review January 21, 2026 03:03
@seisman
Figure.basemap/Figure.coast: Deprecate the 'map_scale' parameter. Use…
9e2b9f4
… 'Figure.scalebar' instead.
@seisman
seisman force-pushed the basemap/map_scale branch from 958c936 to 9e2b9f4 Compare January 21, 2026 03:12
@seisman
Fix docstrings
7daad2d
yvonnefroehlich
yvonnefroehlich approved these changes Jan 21, 2026
View reviewed changes
@seisman
seisman merged commit b024edd into main Jan 21, 2026
21 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@seisman
seisman deleted the basemap/map_scale branch January 21, 2026 10:46
@seisman seisman added the documentation Improvements or additions to documentation label Jan 21, 2026
@yvonnefroehlich yvonnefroehlich mentioned this pull request Jan 21, 2026
DOC: Fix typo in deprecation note for "map_scale" of Figure.coast #4366
Merged
@seisman seisman added skip-changelog Skip adding Pull Request to changelog and removed deprecation Deprecating a feature labels Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yvonnefroehlich yvonnefroehlich yvonnefroehlich approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

0.19.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@seisman @yvonnefroehlich
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.