@@ -5307,8 +5307,10 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
53075307 "x" , x , y1 , y2 ,
53085308 where = where , interpolate = interpolate , step = step , ** kwargs )
53095309
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+ )
53125314 fill_between = _preprocess_data (
53135315 docstring .dedent_interpd (fill_between ),
53145316 replace_names = ["x" , "y1" , "y2" , "where" ])
@@ -5319,8 +5321,10 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
53195321 "y" , y , x1 , x2 ,
53205322 where = where , interpolate = interpolate , step = step , ** kwargs )
53215323
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+ )
53245328 fill_betweenx = _preprocess_data (
53255329 docstring .dedent_interpd (fill_betweenx ),
53265330 replace_names = ["y" , "x1" , "x2" , "where" ])
0 commit comments