Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8104b16

Browse filesBrowse files
committed
FIX: remove AssertionError check
1 parent 2b4887b commit 8104b16
Copy full SHA for 8104b16

File tree

Expand file treeCollapse file tree

1 file changed

+2
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-7
lines changed

‎lib/matplotlib/axis.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axis.py
+2-7Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,13 +1045,8 @@ def _update_ticks(self, renderer):
10451045
tick.update_position(loc)
10461046
tick.set_label1(label)
10471047
tick.set_label2(label)
1048-
try:
1049-
loct = self.get_transform().transform(loc)
1050-
except AssertionError:
1051-
loct = None
1052-
continue
1053-
if ((loct is None) or
1054-
(not mtransforms.interval_contains_close(inter, loct))):
1048+
loct = self.get_transform().transform(loc)
1049+
if not mtransforms.interval_contains_close(inter, loct):
10551050
continue
10561051
ticks_to_draw.append(tick)
10571052

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.