Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dab0a59

Browse files
committed
Simplify plot_date()
1 parent 4356b67 commit dab0a59

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,11 +1810,7 @@ def plot_date(self, x, y, fmt='o', tz=None, xdate=True, ydate=False,
18101810
self.xaxis_date(tz)
18111811
if ydate:
18121812
self.yaxis_date(tz)
1813-
ret = self.plot(x, y, fmt, **kwargs)
1814-
1815-
self._request_autoscale_view()
1816-
1817-
return ret
1813+
return self.plot(x, y, fmt, **kwargs)
18181814

18191815
# @_preprocess_data() # let 'plot' do the unpacking..
18201816
@docstring.dedent_interpd

0 commit comments

Comments
 (0)