We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8cc486 commit 455b54cCopy full SHA for 455b54c
lib/matplotlib/style/core.py
@@ -12,7 +12,6 @@
12
import re
13
14
import numpy as np
15
-import matplotlib.pyplot as plt
16
import matplotlib as mpl
17
18
@@ -47,13 +46,13 @@ def use(name):
47
46
for style in name:
48
if is_style_file(style):
49
settings = mpl.rc_params_in_file(style)
50
- plt.rcParams.update(settings)
+ mpl.rcParams.update(settings)
51
elif style not in library:
52
msg = ("'%s' not found in the style library. "
53
"See `style.available` for list of available styles.")
54
raise ValueError(msg % style)
55
else:
56
- plt.rcParams.update(library[style])
+ mpl.rcParams.update(library[style])
57
58
59
def load_base_library():
0 commit comments