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

Skip to content

Commit e6315e0

Browse files
committed
Fix relim again (thanks Darren Dale)
svn path=/trunk/matplotlib/; revision=4890
1 parent e3d5953 commit e6315e0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,12 +1200,11 @@ def add_table(self, tab):
12001200
def relim(self):
12011201
'recompute the datalimits based on current artists'
12021202
self.dataLim.ignore(True)
1203+
self.ignore_existing_data_limits = True
12031204
for line in self.lines:
1204-
self.ignore_existing_data_limits = True
12051205
self._update_line_limits(line)
12061206

12071207
for p in self.patches:
1208-
self.ignore_existing_data_limits = True
12091208
self._update_patch_limits(p)
12101209

12111210
def update_datalim(self, xys):

0 commit comments

Comments
 (0)