Use interactive widgets
Adding widget code to your Jupyter notebook
To add an interactive widget to your notebook, first add a code cell. Press Alt + Shift + A (Windows) or ⌥ ⇧ A (macOS) to insert a new cell above the currently selected cell, or Alt + Shift + B (Windows) or ⌥ ⇧ B (macOS) to create a new cell below the selected cell. See Edit Jupyter notebook files for more details.
When editing code of an interactive widget, use code completion to facilitate adding constructs and quick fixes to add missing import statements.
To preview the widgets, you need to execute the corresponding code cell. Note that when you switch the DataSpell theme, the background color of an interactive output changes once you execute the code cell.
You can see the values of the widget variables inlined in the editor and listed in the Variables tab of the Jupyter tool window.
Handling security requirements