8000 FIX: remove AssertionError check · matplotlib/matplotlib@f568751 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit f568751

Browse files
committed
FIX: remove AssertionError check
1 parent 5d2e763 commit f568751

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

lib/matplotlib/axis.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,13 +1092,8 @@ def _update_ticks(self, renderer):
10921092
tick.update_position(loc)
10931093
tick.set_label1(label)
10941094
tick.set_label2(label)
1095< 79E3 code>-
try:
1096-
loct = self.get_transform().transform(loc)
1097-
except AssertionError:
1098-
loct = None
1099-
continue
1100-
if ((loct is None) or
1101-
(not mtransforms.interval_contains_close(inter, loct))):
1095+
loct = self.get_transform().transform(loc)
1096+
if not mtransforms.interval_contains_close(inter, loct):
11021097
continue
11031098
ticks_to_draw.append(tick)
11041099

0 commit comments

Comments
 (0)
0