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

Skip to content

Commit 479d68f

Browse files
jrmlhermitteJulien L
authored andcommitted
PEP8 fix and removed two comments
1 parent 76bdae4 commit 479d68f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/matplotlib/axes/_base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,7 @@ def cla(self):
997997
self.xaxis.set_minor_locator(minl)
998998
else:
999999
self.xaxis._set_scale('linear')
1000-
#self.viewLim.intervalx = (0, 1)
1001-
self.set_xlim(0,1)
1000+
self.set_xlim(0, 1)
10021001

10031002
if self._sharey is not None:
10041003
self.yaxis.major = self._sharey.yaxis.major
@@ -1022,8 +1021,7 @@ def cla(self):
10221021
self.yaxis.set_minor_locator(minl)
10231022
else:
10241023
self.yaxis._set_scale('linear')
1025-
#self.viewLim.intervaly = (0, 1)
1026-
self.set_ylim(0,1)
1024+
self.set_ylim(0, 1)
10271025

10281026
# update the minor locator for x and y axis based on rcParams
10291027
if (rcParams['xtick.minor.visible']):

0 commit comments

Comments
 (0)