Skip to content

Figure.inset: Remove deprecated parameter margin [Deprecated since 0.18.0] - #4826

Merged
seisman merged 1 commit into
GenericMappingTools:mainfrom
floze-the-genius:remove/inset-margin
Aug 14, 2026
Merged

Figure.inset: Remove deprecated parameter margin [Deprecated since 0.18.0]#4826
seisman merged 1 commit into
GenericMappingTools:mainfrom
floze-the-genius:remove/inset-margin

Conversation

@floze-the-genius

Copy link
Copy Markdown
Contributor

Description

Remove the deprecated margin parameter alias from Figure.inset as scheduled for PyGMT v0.20.0. The replacement clearance parameter remains unchanged.

Part of #4824.

Checks

  • python3 -m compileall -q pygmt/src/inset.py
  • ruff 0.16.3 format --check pygmt/src/inset.py
  • ruff 0.16.3 check pygmt/src/inset.py
  • git diff --check

The GMT runtime and pytest environment are not available locally, so the GMT-dependent inset tests were left to CI.

@seisman seisman added this to the 0.20.0 milestone Aug 14, 2026
@seisman seisman added the deprecation Deprecating a feature label Aug 14, 2026
@seisman seisman changed the title Figure.inset: Remove deprecated parameter margin Figure.inset: Remove deprecated parameter margin [Deprecated since 0.18.0] Aug 14, 2026
@seisman
seisman merged commit c62ec5e into GenericMappingTools:main Aug 14, 2026
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation Deprecating a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants