@@ -458,26 +458,29 @@ def suptitle(self, t, **kwargs):
458
458
'ha' : 'center' , 'va' : 'top' , 'rotation' : 0 }
459
459
return self ._suplabels (t , info , ** kwargs )
460
460
461
- suptitle .__doc__ = _suplabels .__doc__ .format (
462
- x0 = 0.5 , y0 = 0.98 , name = 'suptitle' , ha = 'center' , va = 'top' )
461
+ if suptitle .__doc__ :
462
+ suptitle .__doc__ = _suplabels .__doc__ .format (
463
+ x0 = 0.5 , y0 = 0.98 , name = 'suptitle' , ha = 'center' , va = 'top' )
463
464
464
465
def supxlabel (self , t , ** kwargs ):
465
466
# docstring from _suplabels...
466
467
info = {'name' : '_supxlabel' , 'x0' : 0.5 , 'y0' : 0.01 ,
467
468
'ha' : 'center' , 'va' : 'bottom' , 'rotation' : 0 }
468
469
return self ._suplabels (t , info , ** kwargs )
469
470
470
- supxlabel .__doc__ = _suplabels .__doc__ .format (
471
- x0 = 0.5 , y0 = 0.01 , name = 'supxlabel' , ha = 'center' , va = 'bottom' )
471
+ if supxlabel .__doc__ :
472
+ supxlabel .__doc__ = _suplabels .__doc__ .format (
473
+ x0 = 0.5 , y0 = 0.01 , name = 'supxlabel' , ha = 'center' , va = 'bottom' )
472
474
473
475
def supylabel (self , t , ** kwargs ):
474
476
# docstring from _suplabels...
475
477
info = {'name' : '_supylabel' , 'x0' : 0.02 , 'y0' : 0.5 ,
476
478
'ha' : 'left' , 'va' : 'center' , 'rotation' : 90 }
477
479
return self ._suplabels (t , info , ** kwargs )
478
480
479
- supylabel .__doc__ = _suplabels .__doc__ .format (
480
- x0 = 0.02 , y0 = 0.5 , name = 'supylabel' , ha = 'left' , va = 'center' )
481
+ if supylabel .__doc__ :
482
+ supylabel .__doc__ = _suplabels .__doc__ .format (
483
+ x0 = 0.02 , y0 = 0.5 , name = 'supylabel' , ha = 'left' , va = 'center' )
481
484
482
485
def get_edgecolor (self ):
483
486
"""Get the edge color of the Figure rectangle."""
0 commit comments