Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5596329 commit 98866a2Copy full SHA for 98866a2
2 files changed
lib/matplotlib/axes/_base.py
@@ -3565,9 +3565,8 @@ def _validate_converted_limits(self, limit, convert):
3565
raise ValueError("Axis limits cannot be NaN or Inf")
3566
return converted_limit
3567
3568
- @_api.make_keyword_only("3.6", "emit")
3569
- def set_xlim(self, left=None, right=None, emit=True, auto=False,
3570
- *, xmin=None, xmax=None):
+ def set_xlim(self, left=None, right=None, *, emit=True, auto=False,
+ xmin=None, xmax=None):
3571
"""
3572
Set the x-axis view limits.
3573
@@ -3797,9 +3796,8 @@ def get_ylim(self):
3797
3796
3798
return tuple(self.viewLim.intervaly)
3799
3800
3801
- def set_ylim(self, bottom=None, top=None, emit=True, auto=False,
3802
- *, ymin=None, ymax=None):
+ def set_ylim(self, bottom=None, top=None, *, emit=True, auto=False,
+ ymin=None, ymax=None):
3803
3804
Set the y-axis view limits.
3805
lib/matplotlib/projections/polar.py
@@ -1228,8 +1228,8 @@ def get_rorigin(self):
1228
def get_rsign(self):
1229
return np.sign(self._originViewLim.y1 - self._originViewLim.y0)
1230
1231
1232
- def set_rlim(self, bottom=None, top=None, emit=True, auto=False, **kwargs):
+ def set_rlim(self, bottom=None, top=None, *,
+ emit=True, auto=False, **kwargs):
1233
1234
Set the radial axis view limits.
1235
0 commit comments