From 063ef17e55e57e1b2ef04eed4a3b4613c6364101 Mon Sep 17 00:00:00 2001 From: Carson Date: Fri, 20 Nov 2026 18:01:54 -0600 Subject: [PATCH] Website: drop unneeded listen_to from plotly linked-highlight example The bars() renderer never reads a selection accessor (the reactive effect reads scatter.selected_rows() and mutates bars.widget), so #498 removed listen_to=["selected"] from the bars() snippet in widgets/plotly/index.md but missed the matching example file, failing check_docs.py and the website production deploy on main. --- website/widgets/plotly/examples/15_linked_highlight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/widgets/plotly/examples/15_linked_highlight.py b/website/widgets/plotly/examples/15_linked_highlight.py index 527f255e..2022a605 100644 --- a/website/widgets/plotly/examples/15_linked_highlight.py +++ b/website/widgets/plotly/examples/15_linked_highlight.py @@ -27,7 +27,7 @@ def scatter(): with ui.card(full_screen=True): - @render_plotly(listen_to=["selected"]) + @render_plotly def bars(): fig = go.Figure(go.Bar(x=top30["pop"], y=top30["country"], orientation="h")) fig.update_traces(marker_color="lightgray")