@@ -653,10 +653,10 @@ def __eq__(self, other):
653653 fig_ohlc .x_range .js_on_change ('end' , CustomJS (args = custom_js_args ,
654654 code = _AUTOSCALE_JS_CALLBACK ))
655655
656- plots = figs_above_ohlc + [fig_ohlc ] + figs_below_ohlc
656+ figs = figs_above_ohlc + [fig_ohlc ] + figs_below_ohlc
657657 linked_crosshair = CrosshairTool (dimensions = 'both' )
658658
659- for f in plots :
659+ for f in figs :
660660 if f .legend :
661661 f .legend .visible = show_legend
662662 f .legend .location = 'top_left'
@@ -682,7 +682,7 @@ def __eq__(self, other):
682682 kwargs ['sizing_mode' ] = 'stretch_width'
683683
684684 fig = gridplot (
685- plots ,
685+ figs ,
686686 ncols = 1 ,
687687 toolbar_location = 'right' ,
688688 toolbar_options = dict (logo = None ),
@@ -708,7 +708,7 @@ def plot_heatmaps(heatmap: pd.Series, agg: Union[Callable, str], ncols: int,
708708 param_combinations = combinations (heatmap .index .names , 2 )
709709 dfs = [heatmap .groupby (list (dims )).agg (agg ).to_frame (name = '_Value' )
710710 for dims in param_combinations ]
711- plots = []
711+ figs = []
712712 cmap = LinearColorMapper (palette = 'Viridis256' ,
713713 low = min (df .min ().min () for df in dfs ),
714714 high = max (df .max ().max () for df in dfs ),
@@ -744,10 +744,10 @@ def plot_heatmaps(heatmap: pd.Series, agg: Union[Callable, str], ncols: int,
744744 line_color = None ,
745745 fill_color = dict (field = '_Value' ,
746746 transform = cmap ))
747- plots .append (fig )
747+ figs .append (fig )
748748
749749 fig = gridplot (
750- plots , # type: ignore
750+ figs , # type: ignore
751751 ncols = ncols ,
752752 toolbar_options = dict (logo = None ),
753753 toolbar_location = 'above' ,
0 commit comments