@@ -3152,8 +3152,7 @@ def set_xlim(self, left=None, right=None, emit=True, auto=False,
3152
3152
False turns off (default action), None leaves unchanged.
3153
3153
3154
3154
xmin, xmax : scalar, optional
3155
- These arguments are deprecated and will be removed in a future
3156
- version. They are equivalent to left and right respectively,
3155
+ They are equivalent to left and right respectively,
3157
3156
and it is an error to pass both *xmin* and *left* or
3158
3157
*xmax* and *right*.
3159
3158
@@ -3195,14 +3194,10 @@ def set_xlim(self, left=None, right=None, emit=True, auto=False,
3195
3194
if right is None and np .iterable (left ):
3196
3195
left , right = left
3197
3196
if xmin is not None :
3198
- cbook .warn_deprecated ('3.0' , name = '`xmin`' ,
3199
- alternative = '`left`' , obj_type = 'argument' )
3200
3197
if left is not None :
3201
3198
raise TypeError ('Cannot pass both `xmin` and `left`' )
3202
3199
left = xmin
3203
3200
if xmax is not None :
3204
- cbook .warn_deprecated ('3.0' , name = '`xmax`' ,
3205
- alternative = '`right`' , obj_type = 'argument' )
3206
3201
if right is not None :
3207
3202
raise TypeError ('Cannot pass both `xmax` and `right`' )
3208
3203
right = xmax
@@ -3536,8 +3531,7 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False,
3536
3531
*False* turns off (default action), *None* leaves unchanged.
3537
3532
3538
3533
ymin, ymax : scalar, optional
3539
- These arguments are deprecated and will be removed in a future
3540
- version. They are equivalent to bottom and top respectively,
3534
+ They are equivalent to bottom and top respectively,
3541
3535
and it is an error to pass both *ymin* and *bottom* or
3542
3536
*ymax* and *top*.
3543
3537
@@ -3578,14 +3572,10 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False,
3578
3572
if top is None and np .iterable (bottom ):
3579
3573
bottom , top = bottom
3580
3574
if ymin is not None :
3581
- cbook .warn_deprecated ('3.0' , name = '`ymin`' ,
3582
- alternative = '`bottom`' , obj_type = 'argument' )
3583
3575
if bottom is not None :
3584
3576
raise TypeError ('Cannot pass both `ymin` and `bottom`' )
3585
3577
bottom = ymin
3586
3578
if ymax is not None :
3587
- cbook .warn_deprecated ('3.0' , name = '`ymax`' ,
3588
- alternative = '`top`' , obj_type = 'argument' )
3589
3579
if top is not None :
3590
3580
raise TypeError ('Cannot pass both `ymax` and `top`' )
3591
3581
top = ymax
0 commit comments