From 248ccb66d17ef1ae6daeba249f8ae2207ea2c195 Mon Sep 17 00:00:00 2001 From: Fernando Perez Date: Tue, 23 Mar 2021 14:44:35 -0700 Subject: [PATCH] Complete docstring for `interactive`. Include description of `auto_display` that is also accepted, and add description of defaults. --- ipywidgets/widgets/interaction.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipywidgets/widgets/interaction.py b/ipywidgets/widgets/interaction.py index 1a01ff2c27..39390e5e9b 100644 --- a/ipywidgets/widgets/interaction.py +++ b/ipywidgets/widgets/interaction.py @@ -146,7 +146,8 @@ class interactive(VBox): should match the function signature. __options : dict A dict of options. Currently, the only supported keys are - ``"manual"`` and ``"manual_name"``. + ``"manual"`` (defaults to ``False``), ``"manual_name"`` (defaults + to ``"Run Interact"``) and ``"auto_display"`` (defaults to ``False``). **kwargs : various, optional An interactive widget is created for each keyword argument that is a valid widget abbreviation.