Skip to content

Commit 5880487

Browse files
Tom GotsmanTom Gotsman
Tom Gotsman
authored and
Tom Gotsman
committed
scatter z-axis range fix
1 parent b3b79a6 commit 5880487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/components/recharts/cartesian.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class ZAxis(Recharts):
184184
z_axis_id: Var[Union[str, int]]
185185

186186
# The range of axis. Default: [10, 10]
187-
range: Var[List[int]]
187+
range: Var[List[int]] = LiteralVar.create([60, 400])
188188

189189
# The unit of data displayed in the axis. This option will be used to represent an index unit in a scatter chart.
190190
unit: Var[Union[str, int]]

0 commit comments

Comments
 (0)