From 588048741b44a6604062f71ab605cbf9b85b00d6 Mon Sep 17 00:00:00 2001 From: Tom Gotsman Date: Tue, 11 Feb 2025 13:27:32 -0800 Subject: [PATCH] scatter z-axis range fix --- reflex/components/recharts/cartesian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/components/recharts/cartesian.py b/reflex/components/recharts/cartesian.py index 9f6bf672b..a354205da 100644 --- a/reflex/components/recharts/cartesian.py +++ b/reflex/components/recharts/cartesian.py @@ -184,7 +184,7 @@ class ZAxis(Recharts): z_axis_id: Var[Union[str, int]] # The range of axis. Default: [10, 10] - range: Var[List[int]] + range: Var[List[int]] = LiteralVar.create([60, 400]) # The unit of data displayed in the axis. This option will be used to represent an index unit in a scatter chart. unit: Var[Union[str, int]]