Skip to content

Commit d4957ec

Browse files
committed
Qt4Cairo backend.
1 parent 2abdcea commit d4957ec

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from .backend_qt5cairo import _BackendQT5Cairo
2+
3+
4+
@_BackendQT5Cairo.export
5+
class _BackendQT4Cairo(_BackendQT5Cairo):
6+
pass

lib/matplotlib/rcsetup.py

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,17 @@
2929
from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
3030
from matplotlib.colors import is_color_like
3131

32-
3332
# Don't let the original cycler collide with our validating cycler
3433
from cycler import Cycler, cycler as ccycler
3534

36-
# interactive_bk = ['gtk', 'gtkagg', 'gtkcairo', 'qt4agg',
37-
# 'tkagg', 'wx', 'wxagg', 'webagg']
38-
# The capitalized forms are needed for ipython at present; this may
39-
# change for later versions.
40-
41-
interactive_bk = ['GTK', 'GTKAgg', 'GTKCairo', 'MacOSX',
42-
'Qt4Agg', 'Qt5Agg', 'Qt5Cairo', 'TkAgg', 'WX', 'WXAgg',
43-
'GTK3Cairo', 'GTK3Agg', 'WebAgg', 'nbAgg']
44-
4535

36+
interactive_bk = ['GTK', 'GTKAgg', 'GTKCairo', 'GTK3Agg', 'GTK3Cairo',
37+
'MacOSX',
38+
'nbAgg',
39+
'Qt4Agg', 'Qt4Cairo', 'Qt5Agg', 'Qt5Cairo',
40+
'TkAgg',
41+
'WebAgg',
42+
'WX', 'WXAgg']
4643
non_interactive_bk = ['agg', 'cairo', 'gdk',
4744
'pdf', 'pgf', 'ps', 'svg', 'template']
4845
all_backends = interactive_bk + non_interactive_bk

0 commit comments

Comments
 (0)