-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Y-labels shifted #1571
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
Comments
dopplershift
added a commit
to dopplershift/matplotlib
that referenced
this issue
Dec 12, 2012
Account for rotation mode when setting axis label position. This is used, for instance, when setting labels on colorbars.
It turns out that the change to use "anchored" neglected to update the axis's set_label_position(). The commit (and PR) fix this directly. However, as discussed in the PR, I'm not sure this is the best way--axis ends up thinking way too much about text rotation. |
dopplershift
added a commit
to dopplershift/matplotlib
that referenced
this issue
Jan 16, 2013
Force 'anchor' rotation mode when setting the label position, and use the appropriate alignment for the Y-label position.
dopplershift
added a commit
that referenced
this issue
Jan 16, 2013
Fix shifted ylabels (Issue #1571)
Fixed by b2a80a7. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Y-labels on colorbars are no longer centered any more. This is readily seen by running
pylab_examples/contourf_demo.py
. A git bisect shows the problem was caused by b9fba92.This same commit has also resulted in shifted y-axis labels for axes created using the axes_grid toolkit. The easiest way to see this is to add y-axis labels to the
axes_grid/demo_axes_grid.py
. Tweaking that demo as below shows both problems:The commit makes sense as causing the problem, but I'm not sure why.
The text was updated successfully, but these errors were encountered: