File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 23
23
24
24
# This list is being used for compatibility with Axes.grid, which
25
25
# allows all Line2D kwargs.
26
- _line_AI = martist .ArtistInspector (mlines .Line2D )
27
- _line_param_names = _line_AI .get_setters ()
28
- _line_param_aliases = [list (d )[0 ] for d in _line_AI .aliasd .values ()]
26
+ _line_inspector = martist .ArtistInspector (mlines .Line2D )
27
+ _line_param_names = _line_inspector .get_setters ()
28
+ _line_param_aliases = [list (d )[0 ] for d in _line_inspector .aliasd .values ()]
29
29
_gridline_param_names = ['grid_' + name
30
30
for name in _line_param_names + _line_param_aliases ]
31
31
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ def plot_examples(colormaps):
138
138
# middle 0.5 of the colormap. However, we need to interpolate from a larger
139
139
# colormap, otherwise the new colormap will have repeated values.
140
140
141
- viridisBig = cm .get_cmap ('viridis' , 512 )
142
- newcmp = ListedColormap (viridisBig (np .linspace (0.25 , 0.75 , 256 )))
141
+ viridis_big = cm .get_cmap ('viridis' , 512 )
142
+ newcmp = ListedColormap (viridis_big (np .linspace (0.25 , 0.75 , 256 )))
143
143
plot_examples ([viridis , newcmp ])
144
144
145
145
##############################################################################
You can’t perform that action at this time.
0 commit comments