Skip to content

Figure.histogram: Remove the deprecated parameter barwidth [Deprecated since 0.18.0] - #4827

Merged
seisman merged 1 commit into
GenericMappingTools:mainfrom
Johnkothapalli:remove-histogram-barwidth
Aug 14, 2026
Merged

Figure.histogram: Remove the deprecated parameter barwidth [Deprecated since 0.18.0]#4827
seisman merged 1 commit into
GenericMappingTools:mainfrom
Johnkothapalli:remove-histogram-barwidth

Conversation

@Johnkothapalli

Copy link
Copy Markdown
Contributor

Description of proposed changes

Removes the deprecated barwidth compatibility parameter from Figure.histogram, as scheduled for PyGMT 0.20.0. The supported bar_width parameter is unchanged. This also removes the now-unused deprecate_parameter import.

Addresses the pygmt/src/histogram.py item in #4824.

Validation

  • ruff check pygmt/src/histogram.py
  • ruff format --check pygmt/src/histogram.py
  • python -m py_compile pygmt/src/histogram.py
  • git diff --check

The focused pytest module could not be collected locally because this environment does not have the GMT shared library; the repository CI will run the GMT-backed tests.

Preview: Not applicable (no documentation content changed).

@seisman seisman added the deprecation Deprecating a feature label Aug 14, 2026
@seisman seisman added this to the 0.20.0 milestone Aug 14, 2026
@seisman
seisman merged commit 876492e 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