@@ -213,7 +213,7 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *,
213
213
214
214
See also
215
215
--------
216
- text : for information on how override and the optional arguments work
216
+ text : Documents the properties supported by `.Text`.
217
217
"""
218
218
if labelpad is not None :
219
219
self .xaxis .labelpad = labelpad
@@ -266,7 +266,7 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *,
266
266
267
267
See also
268
268
--------
269
- text : for information on how override and the optional arguments work
269
+ text : Documents the properties supported by `.Text`.
270
270
"""
271
271
if labelpad is not None :
272
272
self .yaxis .labelpad = labelpad
@@ -689,6 +689,7 @@ def secondary_yaxis(self, location, *, functions=None, **kwargs):
689
689
raise ValueError ('secondary_yaxis location must be either '
690
690
'a float or "left"/"right"' )
691
691
692
+ @docstring .dedent_interpd
692
693
def text (self , x , y , s , fontdict = None , ** kwargs ):
693
694
"""
694
695
Add text to the axes.
@@ -719,6 +720,8 @@ def text(self, x, y, s, fontdict=None, **kwargs):
719
720
**kwargs : `~matplotlib.text.Text` properties.
720
721
Other miscellaneous text parameters.
721
722
723
+ %(Text)s
724
+
722
725
Examples
723
726
--------
724
727
Individual keyword arguments can be used to override any given
0 commit comments