File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1229,8 +1229,7 @@ def rc_file_defaults():
1229
1229
warnings .simplefilter ("ignore" , mplDeprecation )
1230
1230
from .style .core import STYLE_BLACKLIST
1231
1231
rcParams .update ({k : rcParamsOrig [k ] for k in rcParamsOrig
1232
- if k not in STYLE_BLACKLIST and k != 'backend' })
1233
- rcParams ['backend' ] = dict .__getitem__ (rcParamsOrig , 'backend' )
1232
+ if k not in STYLE_BLACKLIST })
1234
1233
1235
1234
1236
1235
def rc_file (fname ):
@@ -1247,11 +1246,7 @@ def rc_file(fname):
1247
1246
from .style .core import STYLE_BLACKLIST
1248
1247
rc_from_file = rc_params_from_file (fname )
1249
1248
rcParams .update ({k : rc_from_file [k ] for k in rc_from_file
1250
- if k not in STYLE_BLACKLIST and k != 'backend' })
1251
-
1252
- proposed_backend = dict .__getitem__ (rc_from_file , 'backend' )
1253
- if (proposed_backend is not rcsetup ._auto_backend_sentinel ):
1254
- rcParams ['backend' ] = proposed_backend
1249
+ if k not in STYLE_BLACKLIST })
1255
1250
1256
1251
1257
1252
class rc_context :
You can’t perform that action at this time.
0 commit comments