Skip to content

Commit

Permalink
Merge pull request ipython#3891 from ivanov/fix-3889
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanov committed Aug 4, 2013
2 parents e9ffcee + 5082cce commit 745866c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IPython/core/pylabtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
# most part it's just a reverse of the above dict, but we also need to add a
# few others that map to the same GUI manually:
backend2gui = dict(zip(backends.values(), backends.keys()))
# Our tests expect backend2gui to just return 'qt'
backend2gui['Qt4Agg'] = 'qt'
# In the reverse mapping, there are a few extra valid matplotlib backends that
# map to the same GUI support
backend2gui['GTK'] = backend2gui['GTKCairo'] = 'gtk'
Expand Down

0 comments on commit 745866c

Please sign in to comment.