Browse Source

default props comment for scatterchart (#4096)

Carlos 7 months ago
parent
commit
b0de28208f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      reflex/components/recharts/charts.py
  2. 1 1
      reflex/components/recharts/charts.pyi

+ 1 - 1
reflex/components/recharts/charts.py

@@ -394,7 +394,7 @@ class ScatterChart(ChartBase):
 
 
     alias = "RechartsScatterChart"
     alias = "RechartsScatterChart"
 
 
-    # The sizes of whitespace around the chart, i.e. {"top": 50, "right": 30, "left": 20, "bottom": 5}.
+    # The sizes of whitespace around the chart. Default: {"top": 5, "right": 5, "bottom": 5, "left": 5}
     margin: Var[Dict[str, Any]]
     margin: Var[Dict[str, Any]]
 
 
     # Valid children components
     # Valid children components

+ 1 - 1
reflex/components/recharts/charts.pyi

@@ -855,7 +855,7 @@ class ScatterChart(ChartBase):
 
 
         Args:
         Args:
             *children: The children of the chart component.
             *children: The children of the chart component.
-            margin: The sizes of whitespace around the chart, i.e. {"top": 50, "right": 30, "left": 20, "bottom": 5}.
+            margin: The sizes of whitespace around the chart. Default: {"top": 5, "right": 5, "bottom": 5, "left": 5}
             width: The width of chart container. String or Integer
             width: The width of chart container. String or Integer
             height: The height of chart container.
             height: The height of chart container.
             style: The style of the component.
             style: The style of the component.