Skip to content

DOC/histogram: Mention that "bar_offset" requires "bar_width" - #4901

Merged
seisman merged 1 commit into
mainfrom
required_width_for_offset_histo
Sep 17, 2026
Merged

seisman merged 1 commit into
mainfrom
required_width_for_offset_histo

Conversation

@yvonnefroehlich

Copy link
Copy Markdown
Member

Description of proposed changes

Mention in the docs that "bar_offset" requires "bar_width". Users see this error message:

GMTParameterError: Missing required parameter: 'bar_width'. Required when 'bar_offset' is set.

In case this change is already included in any of the currently open PRs related to Figure.histogram just close this PR.

Preview: https://pygmt-dev--4901.org.readthedocs.build/en/4901/

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.20.0 milestone Sep 17, 2026
@yvonnefroehlich yvonnefroehlich self-assigned this Sep 17, 2026
@yvonnefroehlich yvonnefroehlich added documentation Improvements or additions to documentation skip-changelog Skip adding Pull Request to changelog labels Sep 17, 2026
@seisman
seisman merged commit 6987948 into main Sep 17, 2026
26 of 28 checks passed
@seisman
seisman deleted the required_width_for_offset_histo branch September 17, 2026 11:47
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 skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants