8000 Merge pull request #4640 from mdboom/gtk3-backend-support · mattvonrocketstein/ipython@66ff116 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66ff116

Browse files
committed
Merge pull request ipython#4640 from mdboom/gtk3-backend-support
Support matplotlib's Gtk3 backend in --pylab mode
2 parents 7971aff + cb29d61 commit 66ff116

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IPython/core/pylabtools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
# user's mpl default from the mpl rc structure
3131
backends = {'tk': 'TkAgg',
3232
'gtk': 'GTKAgg',
33+
'gtk3': 'GTK3Agg',
3334
'wx': 'WXAgg',
3435
'qt': 'Qt4Agg', # qt3 not supported
3536
'qt4': 'Qt4Agg',
@@ -46,6 +47,7 @@
4647
# In the reverse mapping, there are a few extra valid matplotlib backends that
4748
# map to the same GUI support
4849
backend2gui['GTK'] = backend2gui['GTKCairo'] = 'gtk'
50+
backend2gui['GTK3Cairo'] = 'gtk3'
4951
backend2gui['WX'] = 'wx'
5052
backend2gui['CocoaAgg'] = 'osx'
5153

0 commit comments

Comments
 (0)
0