Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: Document the behavior of bar() for categorical x data #29511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

timhoffm
Copy link
Member

In particular, mention the different behavior on duplicates compared to using tick_label explicitly.

Closes #29507.

@rcomer
Copy link
Member

rcomer commented Jan 24, 2025

The description seems good to me, but should we also have the equivalent under y in the barh docstring?

In particular, mention the different behavior on duplicates compared to using `tick_label` explicitly.

Closes matplotlib#29507.
@timhoffm timhoffm force-pushed the doc-bar-categorical branch from 9ccc0c3 to 3f08f38 Compare January 24, 2025 13:09
@timhoffm
Copy link
Member Author

Sure. Done.

lib/matplotlib/axes/_axes.py Outdated Show resolved Hide resolved
Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
@rcomer rcomer merged commit bdf7e8b into matplotlib:main Jan 24, 2025
38 of 41 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jan 24, 2025
rcomer added a commit that referenced this pull request Jan 24, 2025
…511-on-v3.10.x

Backport PR #29511 on branch v3.10.x (DOC: Document the behavior of bar() for categorical x data)
@ksunden ksunden mentioned this pull request Mar 3, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Duplicating the labels in the height/width argument in barh()/bar leads to undrawn bars
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.