File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77from matplotlib .testing .decorators import cleanup , switch_backend
88from matplotlib .testing .decorators import knownfailureif
99from matplotlib ._pylab_helpers import Gcf
10- import matplotlib . style as mstyle
10+ import matplotlib
1111import copy
1212
1313try :
1717 import mock
1818
1919try :
20- with mstyle . context ( {'backend' : 'Qt4Agg' }):
20+ with matplotlib . rc_context ( rc = {'backend' : 'Qt4Agg' }):
2121 from matplotlib .backends .qt_compat import QtCore
2222
2323 from matplotlib .backends .backend_qt4 import (MODIFIER_KEYS ,
Original file line number Diff line number Diff line change 66from matplotlib .testing .decorators import cleanup , switch_backend
77from matplotlib .testing .decorators import knownfailureif
88from matplotlib ._pylab_helpers import Gcf
9- import matplotlib . style as mstyle
9+ import matplotlib
1010import copy
1111
1212try :
1616 import mock
1717
1818try :
19- with mstyle . context ( {'backend' : 'Qt5Agg' }):
19+ with matplotlib . rc_context ( rc = {'backend' : 'Qt5Agg' }):
2020 from matplotlib .backends .qt_compat import QtCore , __version__
2121 from matplotlib .backends .backend_qt5 import (MODIFIER_KEYS ,
2222 SUPER , ALT , CTRL , SHIFT )
You can’t perform that action at this time.
0 commit comments