Skip to content

Commit

Permalink
accept bool (false) for slider controls
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuebert committed Feb 6, 2025
1 parent 08ffbd7 commit 466d6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/genstudio/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def Slider(
loop: Union[bool, JSExpr] = True,
label: Optional[Union[str, JSExpr]] = None,
showValue: Union[bool, JSExpr] = False,
controls: Optional[Union[List[str], JSExpr]] = None,
controls: Optional[Union[List[str], JSExpr, bool]] = None,
className: Optional[str] = None,
style: Optional[Dict[str, Any]] = None,
**kwargs: Any,
Expand Down

0 comments on commit 466d6c7

Please sign in to comment.