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 — BREAKING: Figure: Raise GMTParameterError for deprecated parameters U/X/Y/timestamp/xshift/yshift. Previously raise GMTInvalidInput by seisman · Pull Request #4400 · GenericMappingTools/pygmt

Conversation

@seisman

@seisman seisman commented Feb 9, 2026

Copy link
Copy Markdown
Member

See #3707 (comment) for context. When deprecated parameters U/X/Y/timestamp/xshift/yshift are used, it makes sense to raise GMTParameterError with custom error messages.

In [1]: import pygmt

In [2]: fig = pygmt.Figure()

In [3]: fig.basemap(region=[0, 10, 0, 10], frame=True, projection="X10c", U=True)

GMTParameterError: Parameters 'U' and 'timestamp' are no longer supported since v0.12.0. Use Figure.timestamp() instead.

Sorry, something went wrong.

Uh oh!

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

All reactions
@seisman
Figure: Raise GMTParameterError for deprecated parameters U/X/Y/times…
ed1e55f
…tamp/xshift/yshift
@seisman seisman added this to the 0.19.0 milestone Feb 9, 2026
@seisman seisman added maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. labels Feb 9, 2026
seisman added 2 commits February 10, 2026 16:02
@seisman
Merge branch 'main' into parametererror/UXY
01d06f0
@seisman
Merge branch 'main' into parametererror/UXY
e7fe3ee
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. final review call This PR requires final review and approval from a second reviewer labels Feb 12, 2026
@seisman
seisman merged commit d26c16c into main Feb 13, 2026
26 of 32 checks passed

Uh oh!

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

@seisman
seisman deleted the parametererror/UXY branch February 13, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

maintenance Boring but important stuff for the core devs

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.

1 participant

@seisman
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.