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 6125d81

Browse filesBrowse files
committed
Throw an exception if MPLBACKEND is invalid.
1 parent 3590ce2 commit 6125d81
Copy full SHA for 6125d81

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/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ def tk_window_focus():
14601460
# variable MPLBACKEND
14611461
try:
14621462
use(os.environ['MPLBACKEND'])
1463-
except (KeyError, ValueError):
1463+
except KeyError:
14641464
pass
14651465

14661466

0 commit comments

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