@@ -373,38 +373,32 @@ def get_window_extent(self, *args, **kwargs):
373
373
374
374
def _suplabels (self , t , info , ** kwargs ):
375
375
"""
376
- Add a centered { name} to the figure.
376
+ Add a centered %( name)s to the figure.
377
377
378
378
Parameters
379
379
----------
380
380
t : str
381
- The {name} text.
382
-
383
- x : float, default: {x0}
381
+ The %(name)s text.
382
+ x : float, default: %(x0)s
384
383
The x location of the text in figure coordinates.
385
-
386
- y : float, default: {y0}
384
+ y : float, default: %(y0)s
387
385
The y location of the text in figure coordinates.
388
-
389
- horizontalalignment, ha : {{'center', 'left', 'right'}}, default: {ha}
386
+ horizontalalignment, ha : {'center', 'left', 'right'}, default: %(ha)s
390
387
The horizontal alignment of the text relative to (*x*, *y*).
391
-
392
- verticalalignment, va : {{'top', 'center', 'bottom', 'baseline'}}, \
393
- default: {va}
388
+ verticalalignment, va : {'top', 'center', 'bottom', 'baseline'}, \
389
+ default: %(va)s
394
390
The vertical alignment of the text relative to (*x*, *y*).
395
-
396
391
fontsize, size : default: :rc:`figure.titlesize`
397
392
The font size of the text. See `.Text.set_size` for possible
398
393
values.
399
-
400
394
fontweight, weight : default: :rc:`figure.titleweight`
401
395
The font weight of the text. See `.Text.set_weight` for possible
402
396
values.
403
397
404
398
Returns
405
399
-------
406
400
text
407
- The `.Text` instance of the { name} .
401
+ The `.Text` instance of the %( name)s .
408
402
409
403
Other Parameters
410
404
----------------
@@ -416,7 +410,6 @@ def _suplabels(self, t, info, **kwargs):
416
410
417
411
**kwargs
418
412
Additional kwargs are `matplotlib.text.Text` properties.
419
-
420
413
"""
421
414
422
415
manual_position = ('x' in kwargs or 'y' in kwargs )
0 commit comments