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

Skip to content

Commit 526a123

Browse files
committed
Another typo bug in recent commit for shared axes support
svn path=/trunk/matplotlib/; revision=6329
1 parent 323f46f commit 526a123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ def cla(self):
831831
if self._sharey is not None:
832832
self.yaxis.major = self._sharey.yaxis.major
833833
self.yaxis.minor = self._sharey.yaxis.minor
834-
y0, y1 = self._sharex.get_ylim()
834+
y0, y1 = self._sharey.get_ylim()
835835
self.set_ylim(y0, y1, emit=False)
836836
self.yaxis.set_scale(self._sharey.yaxis.get_scale())
837837
else:

0 commit comments

Comments
 (0)