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