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 16698e8

Browse filesBrowse files
committed
Also catch RuntimeErrors
Borrowed from #5677 which is not backported to 2.x
1 parent 5c5a37d commit 16698e8
Copy full SHA for 16698e8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/textpath.py

Copy file name to clipboardExpand all lines: lib/matplotlib/textpath.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def get_glyphs_tex(self, prop, s, glyph_map=None,
345345
1094995778)]:
346346
try:
347347
font.select_charmap(charmap_code)
348-
except ValueError:
348+
except (ValueError, RuntimeError):
349349
pass
350350
else:
351351
break

0 commit comments

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