File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def _apply_style(d, warn=True):
66
66
mpl .rcParams .update (_remove_blacklisted_style_params (d , warn = warn ))
67
67
68
68
69
- def use (styles ):
69
+ def use (style ):
70
70
"""Use matplotlib style settings from a style specification.
71
71
72
72
The style name of 'default' is reserved for reverting back to
@@ -90,10 +90,10 @@ def use(styles):
90
90
91
91
92
92
"""
93
- if cbook .is_string_like (styles ) or hasattr (styles , 'keys' ):
93
+ if cbook .is_string_like (style ) or hasattr (style , 'keys' ):
94
94
# If name is a single str or dict, make it a single element list.
95
- styles = [styles ]
96
- flattened_style = _flatten_style_dict ({PARENT_STYLES : styles })
95
+ style = [style ]
96
+ flattened_style = _flatten_style_dict ({PARENT_STYLES : style })
97
97
_apply_style (flattened_style )
98
98
99
99
You can’t perform that action at this time.
0 commit comments