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 c718e61

Browse filesBrowse files
authored
Merge pull request #6699 from anntzer/warn-on-invalid-MPLBACKEND
MNT: raise if MPLBACKEND is not a valid backend
2 parents efc2402 + 6125d81 commit c718e61
Copy full SHA for c718e61

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.