Skip to content

Commit

Permalink
Merge pull request #6699 from anntzer/warn-on-invalid-MPLBACKEND
Browse files Browse the repository at this point in the history
MNT: raise if MPLBACKEND is not a valid backend
  • Loading branch information
tacaswell committed Jul 16, 2016
2 parents efc2402 + 6125d81 commit c718e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/__init__.py
Expand Up @@ -1460,7 +1460,7 @@ def tk_window_focus():
# variable MPLBACKEND
try:
use(os.environ['MPLBACKEND'])
except (KeyError, ValueError):
except KeyError:
pass


Expand Down

0 comments on commit c718e61

Please sign in to comment.