##// END OF EJS Templates
Support matplotlib's Gtk3 backend in --pylab mode.
Michael Droettboom -
Show More
@@ -30,6 +30,7 b' from IPython.utils.decorators import flag_calls'
30 # user's mpl default from the mpl rc structure
30 # user's mpl default from the mpl rc structure
31 backends = {'tk': 'TkAgg',
31 backends = {'tk': 'TkAgg',
32 'gtk': 'GTKAgg',
32 'gtk': 'GTKAgg',
33 'gtk3': 'GTK3Agg',
33 'wx': 'WXAgg',
34 'wx': 'WXAgg',
34 'qt': 'Qt4Agg', # qt3 not supported
35 'qt': 'Qt4Agg', # qt3 not supported
35 'qt4': 'Qt4Agg',
36 'qt4': 'Qt4Agg',
@@ -46,6 +47,7 b" backend2gui['Qt4Agg'] = 'qt'"
46 # In the reverse mapping, there are a few extra valid matplotlib backends that
47 # In the reverse mapping, there are a few extra valid matplotlib backends that
47 # map to the same GUI support
48 # map to the same GUI support
48 backend2gui['GTK'] = backend2gui['GTKCairo'] = 'gtk'
49 backend2gui['GTK'] = backend2gui['GTKCairo'] = 'gtk'
50 backend2gui['GTK3Cairo'] = 'gtk3'
49 backend2gui['WX'] = 'wx'
51 backend2gui['WX'] = 'wx'
50 backend2gui['CocoaAgg'] = 'osx'
52 backend2gui['CocoaAgg'] = 'osx'
51
53
General Comments 0
You need to be logged in to leave comments. Login now