@@ -653,10 +653,10 @@ def __eq__(self, other):
653
653
fig_ohlc .x_range .js_on_change ('end' , CustomJS (args = custom_js_args ,
654
654
code = _AUTOSCALE_JS_CALLBACK ))
655
655
656
- plots = figs_above_ohlc + [fig_ohlc ] + figs_below_ohlc
656
+ figs = figs_above_ohlc + [fig_ohlc ] + figs_below_ohlc
657
657
linked_crosshair = CrosshairTool (dimensions = 'both' )
658
658
659
- for f in plots :
659
+ for f in figs :
660
660
if f .legend :
661
661
f .legend .visible = show_legend
662
662
f .legend .location = 'top_left'
@@ -682,7 +682,7 @@ def __eq__(self, other):
682
682
kwargs ['sizing_mode' ] = 'stretch_width'
683
683
684
684
fig = gridplot (
685
- plots ,
685
+ figs ,
686
686
ncols = 1 ,
687
687
toolbar_location = 'right' ,
688
688
toolbar_options = dict (logo = None ),
@@ -708,7 +708,7 @@ def plot_heatmaps(heatmap: pd.Series, agg: Union[Callable, str], ncols: int,
708
708
param_combinations = combinations (heatmap .index .names , 2 )
709
709
dfs = [heatmap .groupby (list (dims )).agg (agg ).to_frame (name = '_Value' )
710
710
for dims in param_combinations ]
711
- plots = []
711
+ figs = []
712
712
cmap = LinearColorMapper (palette = 'Viridis256' ,
713
713
low = min (df .min ().min () for df in dfs ),
714
714
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,
744
744
line_color = None ,
745
745
fill_color = dict (field = '_Value' ,
746
746
transform = cmap ))
747
- plots .append (fig )
747
+ figs .append (fig )
748
748
749
749
fig = gridplot (
750
- plots , # type: ignore
750
+ figs , # type: ignore
751
751
ncols = ncols ,
752
752
toolbar_options = dict (logo = None ),
753
753
toolbar_location = 'above' ,
0 commit comments