From 1c29bff9981ada322a6ef4f93169c00f261418e5 Mon Sep 17 00:00:00 2001 From: HongyuHansonYao <159659100+HongyuHansonYao@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:42:22 -0700 Subject: [PATCH] Set use resize handler default to true (#3424) * init * empty commit * set true * set true * set true --------- Co-authored-by: Hongyu Yao --- reflex/components/plotly/plotly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/components/plotly/plotly.py b/reflex/components/plotly/plotly.py index 762172ed6..ed4b1a3fc 100644 --- a/reflex/components/plotly/plotly.py +++ b/reflex/components/plotly/plotly.py @@ -109,7 +109,7 @@ class Plotly(PlotlyLib): config: Var[Dict] # If true, the graph will resize when the window is resized. - use_resize_handler: Var[bool] + use_resize_handler: Var[bool] = Var.create_safe(True) # Fired after the plot is redrawn. on_after_plot: EventHandler[_passthrough_signature]