@@ -5302,8 +5302,10 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
5302
5302
"x" , x , y1 , y2 ,
5303
5303
where = where , interpolate = interpolate , step = step , ** kwargs )
5304
5304
5305
- fill_between .__doc__ = _fill_between_x_or_y .__doc__ .format (
5306
- dir = "horizontal" , ind = "x" , dep = "y" )
5305
+ if _fill_between_x_or_y .__doc__ :
5306
+ fill_between .__doc__ = _fill_between_x_or_y .__doc__ .format (
5307
+ dir = "horizontal" , ind = "x" , dep = "y"
5308
+ )
5307
5309
fill_between = _preprocess_data (
5308
5310
docstring .dedent_interpd (fill_between ),
5309
5311
replace_names = ["x" , "y1" , "y2" , "where" ])
@@ -5314,8 +5316,10 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
5314
5316
"y" , y , x1 , x2 ,
5315
5317
where = where , interpolate = interpolate , step = step , ** kwargs )
5316
5318
5317
- fill_betweenx .__doc__ = _fill_between_x_or_y .__doc__ .format (
5318
- dir = "vertical" , ind = "y" , dep = "x" )
5319
+ if _fill_between_x_or_y .__doc__ :
5320
+ fill_betweenx .__doc__ = _fill_between_x_or_y .__doc__ .format (
5321
+ dir = "vertical" , ind = "y" , dep = "x"
5322
+ )
5319
5323
fill_betweenx = _preprocess_data (
5320
5324
docstring .dedent_interpd (fill_betweenx ),
5321
5325
replace_names = ["y" , "x1" , "x2" , "where" ])
0 commit comments