Skip to content

Revert invalid change in Centered Ticklabels example #13578

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
Mar 4, 2019

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Mar 3, 2019

PR Summary

This reverts a change in the example introduced by #8678. As #13400 states ax.xaxis.set_tick_params(horizontalalignment='right') does not work - it's not implemented.

This is a quick-fix to get the documentation correct for 3.1 again.

It's debatable if implementing vertical/horizontalalignment for set_tick_params() is reasonable. Essentally, verticalalignment will not give reasonable results for xticks and horizontalalignment will not give reasonable results for yticks. But that's for another PR.

@dstansby dstansby merged commit f8d02b9 into matplotlib:master Mar 4, 2019
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Mar 4, 2019
dstansby added a commit that referenced this pull request Mar 4, 2019
…578-on-v3.1.x

Backport PR #13578 on branch v3.1.x (Revert invalid change in Centered Ticklabels example)
@timhoffm timhoffm deleted the fix-doc-centered_ticklabels branch June 10, 2022 21:15
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.

2 participants