@@ -213,7 +213,7 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *,
213213
214214 See also
215215 --------
216- text : for information on how override and the optional arguments work
216+ text : Documents the properties supported by `.Text`.
217217 """
218218 if labelpad is not None :
219219 self .xaxis .labelpad = labelpad
@@ -266,7 +266,7 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *,
266266
267267 See also
268268 --------
269- text : for information on how override and the optional arguments work
269+ text : Documents the properties supported by `.Text`.
270270 """
271271 if labelpad is not None :
272272 self .yaxis .labelpad = labelpad
@@ -689,6 +689,7 @@ def secondary_yaxis(self, location, *, functions=None, **kwargs):
689689 raise ValueError ('secondary_yaxis location must be either '
690690 'a float or "left"/"right"' )
691691
692+ @docstring .dedent_interpd
692693 def text (self , x , y , s , fontdict = None , ** kwargs ):
693694 """
694695 Add text to the axes.
@@ -719,6 +720,8 @@ def text(self, x, y, s, fontdict=None, **kwargs):
719720 **kwargs : `~matplotlib.text.Text` properties.
720721 Other miscellaneous text parameters.
721722
723+ %(Text)s
724+
722725 Examples
723726 --------
724727 Individual keyword arguments can be used to override any given
0 commit comments