Skip to content

Commit 1a883ff

Browse files
BenjaminCharmesml-evs
authored andcommitted
Remove click_policy on plot legend
1 parent 5bde797 commit 1a883ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydatalab/src/pydatalab/bokeh_plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def selectable_axes_plot(
436436
yaxis_select.js_on_change("value", *callbacks_y)
437437

438438
if p.legend:
439-
p.legend.click_policy = "hide"
439+
p.legend.click_policy = "none"
440440
if len(df) <= 1:
441441
p.legend.visible = False
442442
else:
@@ -447,7 +447,7 @@ def selectable_axes_plot(
447447

448448
external_legend = Legend(
449449
items=legend_items,
450-
click_policy="hide",
450+
click_policy="none",
451451
background_fill_alpha=0.8,
452452
label_text_font_size="9pt",
453453
spacing=1,

0 commit comments

Comments
 (0)