8000 Propagate mpl.text.Text instances to the backends and fix documentation by pwuertz · Pull Request #1081 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Propagate mpl.text.Text instances to the backends and fix documentation #1081

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 5 commits into from
Nov 30, 2012
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use anchored rotation for y-labels
  • Loading branch information
pwuertz authored and pwuertz committed Nov 27, 2012
commit b9fba927aba80d699d374ac9005ac259abd7a484
5 changes: 3 additions & 2 deletions lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1847,9 +1847,10 @@ def _get_label(self):
size=rcParams['axes.labelsize'],
weight=rcParams['axes.labelweight']),
color=rcParams['axes.labelcolor'],
verticalalignment='center',
horizontalalignment='right',
verticalalignment='bottom',
horizontalalignment='center',
rotation='vertical',
rotation_mode='anchor',
)
label.set_transform(mtransforms.blended_transform_factory(
mtransforms.IdentityTransform(), self.axes.transAxes))
Expand Down
0