union int float
This commit is contained in:
parent
89fdb75029
commit
ecbd3e3f5d
@ -614,7 +614,7 @@ class ErrorBar(Recharts):
|
||||
stroke: Var[Union[str, Color]] = LiteralVar.create(Color("gray", 8))
|
||||
|
||||
# The stroke width of error bar. Default: 1.5
|
||||
stroke_width: Var[float]
|
||||
stroke_width: Var[Union[str, int]]
|
||||
|
||||
|
||||
class Reference(Recharts):
|
||||
|
@ -1575,7 +1575,7 @@ class ErrorBar(Recharts):
|
||||
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
||||
width: Optional[Union[Var[int], int]] = None,
|
||||
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
||||
stroke_width: Optional[Union[Var[float], float]] = None,
|
||||
stroke_width: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
||||
style: Optional[Style] = None,
|
||||
key: Optional[Any] = None,
|
||||
id: Optional[Any] = None,
|
||||
|
Loading…
Reference in New Issue
Block a user