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

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PEP8 fix and removed two comments
  • Loading branch information
jrmlhermitte committed Dec 23, 2015
commit c4cb779b9b5ec91326cd03592185b13bd50e8c6f
6 changes: 2 additions & 4 deletions lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,8 +959,7 @@ def cla(self):
self.xaxis.set_minor_locator(minl)
else:
self.xaxis._set_scale('linear')
#self.viewLim.intervalx = (0, 1)
self.set_xlim(0,1)
self.set_xlim(0, 1)

if self._sharey is not None:
self.yaxis.major = self._sharey.yaxis.major
Expand All @@ -984,8 +983,7 @@ def cla(self):
self.yaxis.set_minor_locator(minl)
else:
self.yaxis._set_scale('linear')
#self.viewLim.intervaly = (0, 1)
self.set_ylim(0,1)
self.set_ylim(0, 1)

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