8000 Axis Labels with offset Spines by cimarronm · Pull Request #4134 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Axis Labels with offset Spines #4134

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 9 commits into from
Mar 12, 2015
Prev Previous commit
Next Next commit
DOC: Modified doctstring of _update_label_position for new functionality
  • Loading branch information
cimarronm committed Feb 20, 2015
commit 97bbf59ce875848e89be7e39605d49d7d55503bd
9 changes: 6 additions & 3 deletions lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,8 @@ def set_ticks(self, ticks, minor=False):
def _update_label_position(self, bboxes, bboxes2):
"""
Update the label position based on the sequence of bounding
boxes of all the ticklabels
boxes of all the ticklabels or using the axis spines if no
ticklabels are present
"""
raise NotImplementedError('Derived must override')

Expand Down Expand Up @@ -1726,7 +1727,8 @@ def set_label_position(self, position):
def _update_label_position(self, bboxes, bboxes2):
"""
Update the label position based on the sequence of bounding
boxes of all the ticklabels
boxes of all the ticklabels or using the axis spines if no
ticklabels are present
"""
if not self._autolabelpos:
return
Expand Down Expand Up @@ -2036,7 +2038,8 @@ def set_label_position(self, position):
def _update_label_position(self, bboxes, bboxes2):
"""
Update the label position based on the sequence of bounding
boxes of all the ticklabels
boxes of all the ticklabels or using the axis spines if no
ticklabels are present
"""
if not self._autolabelpos:
return
Expand Down
0