Skip to content

Figure.histogram: Migrate the parameter horizontal to the new alias system - #4880

Open
seisman wants to merge 1 commit into
mainfrom
histogram/horizontal
Open

Figure.histogram: Migrate the parameter horizontal to the new alias system#4880
seisman wants to merge 1 commit into
mainfrom
histogram/horizontal

Conversation

@seisman

@seisman seisman commented Sep 4, 2026

Copy link
Copy Markdown
Member

This PR migrates the parameter horizontal (-A) to the new alias system.

In matplotlib, plt.hist provides the orientation parameter, which can be "vertical" and "horizontal" (xref: https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html). I wonder if we should use the same parameter name, but it means we need to deprecate horizontal to orientation.

Edit: Personally I prefer horizontal=True which is simpler.

@seisman seisman added needs review This PR has higher priority and needs review. discussions Need more discussion before taking further actions labels Sep 4, 2026
@seisman seisman added this to the 0.20.0 milestone Sep 4, 2026
@seisman
seisman marked this pull request as ready for review September 4, 2026 16:52
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog and removed discussions Need more discussion before taking further actions labels Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs needs review This PR has higher priority and needs review. skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant