Skip to content

Commit 0edb82c

Browse files
committed
DOC: Add [*Discouraged*] prefix to summary lines
Apply matplotlib#29303 where it was missing
1 parent 3aebcb7 commit 0edb82c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3602,7 +3602,7 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *,
36023602

36033603
def invert_xaxis(self):
36043604
"""
3605-
Invert the x-axis.
3605+
[*Discouraged*] Invert the x-axis.
36063606
36073607
.. admonition:: Discouraged
36083608
@@ -3870,7 +3870,7 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *,
38703870

38713871
def invert_yaxis(self):
38723872
"""
3873-
Invert the y-axis.
3873+
[*Discouraged*] Invert the y-axis.
38743874
38753875
.. admonition:: Discouraged
38763876

lib/matplotlib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ def set_label(self, s):
14431443

14441444
def get_label(self):
14451445
"""
1446-
Return the axis label as a Text instance.
1446+
[*Discouraged*] Return the axis label as a Text instance.
14471447
14481448
.. admonition:: Discouraged
14491449

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,7 @@ def tick_params(self, axis='both', **kwargs):
18861886

18871887
def invert_zaxis(self):
18881888
"""
1889-
Invert the z-axis.
1889+
[*Discouraged*] Invert the z-axis.
18901890
18911891
.. admonition:: Discouraged
18921892

0 commit comments

Comments
 (0)