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

Fix Stacked bar graph example #15121

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 1 commit into from
Aug 25, 2019

Conversation

timhoffm
Copy link
Member

PR Summary

The example got broken in the rewrite from pyplot to the OOP interface (#14868).

grafik

Unfortunately, plt.xticks and Axes.set_xticks have different interfaces; see also #15005.

Anyway, the x labels can be directly set in the bar() call nowadays. So, we don't need set_xticks in the example.

Also changed the title "Bar graph" -> "Bar chart". The latter is more common (google has twice as many results).

@timhoffm timhoffm added this to the v3.2.0 milestone Aug 25, 2019
@dstansby dstansby merged commit a9d1052 into matplotlib:master Aug 25, 2019
@timhoffm timhoffm deleted the fix-bar-stacked-example branch August 25, 2019 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.