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 323f46f commit 526a123Copy full SHA for 526a123
1 file changed
lib/matplotlib/axes.py
@@ -831,7 +831,7 @@ def cla(self):
831
if self._sharey is not None:
832
self.yaxis.major = self._sharey.yaxis.major
833
self.yaxis.minor = self._sharey.yaxis.minor
834
- y0, y1 = self._sharex.get_ylim()
+ y0, y1 = self._sharey.get_ylim()
835
self.set_ylim(y0, y1, emit=False)
836
self.yaxis.set_scale(self._sharey.yaxis.get_scale())
837
else:
0 commit comments