Skip to content

Commit 90453a4

Browse files
committed
Typo in last commit
svn path=/trunk/matplotlib/; revision=5748
1 parent 060ffc4 commit 90453a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,8 @@ def cla(self):
904904
self.xaxis.set_clip_path(self.patch)
905905
self.yaxis.set_clip_path(self.patch)
906906

907-
self._shared_x_axes.clear()
908-
self._shared_y_axes.clear()
907+
self._shared_x_axes.clean()
908+
self._shared_y_axes.clean()
909909

910910
def clear(self):
911911
'clear the axes'
@@ -6032,7 +6032,7 @@ def twinx(self):
60326032
right
60336033
"""
60346034

6035-
ax2 = self.figure.add_axes(self.get_position(True), sharex=self,
6035+
ax2 = self.figure.add_axes(self.get_position(True), # sharex=self,
60366036
frameon=False)
60376037
ax2.yaxis.tick_right()
60386038
ax2.yaxis.set_label_position('right')

0 commit comments

Comments
 (0)