8000 DOC: Modified doctstring of _update_label_position for new functionality · matplotlib/matplotlib@97bbf59 · GitHub
[go: up one dir, main page]

Skip to content

Commit 97bbf59

Browse files
committed
DOC: Modified doctstring of _update_label_position for new functionality
1 parent 830d9ad commit 97bbf59

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/matplotlib/axis.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,7 +1570,8 @@ def set_ticks(self, ticks, minor=False):
15701570
def _update_label_position(self, bboxes, bboxes2):
15711571
"""
15721572
Update the label position based on the sequence of bounding
1573-
boxes of all the ticklabels
1573+
boxes of all the ticklabels or using the axis spines if no
1574+
ticklabels are present
15741575
"""
15751576
raise NotImplementedError('Derived must override')
15761577

@@ -1726,7 +1727,8 @@ def set_label_position(self, position):
17261727
def _update_label_position(self, bboxes, bboxes2):
17271728
"""
17281729
Update the label position based on the sequence of bounding
1729-
boxes of all the ticklabels
1730+
boxes of all the ticklabels or using the axis spines if no
1731+
ticklabels are present
17301732
"""
17311733
if not self._autolabelpos:
17321734
return
@@ -2036,7 +2038,8 @@ def set_label_position(self, position):
20362038
def _update_label_position(self, bboxes, bboxes2):
20372039
"""
20382040
Update the label position based on the sequence of bounding
2039-
boxes of all the ticklabels
2041+
boxes of all the ticklabels or using the axis spines if no
2042+
ticklabels are present
20402043
"""
20412044
if not self._autolabelpos:
20422045
return

0 commit comments

Comments
 (0)
0