Open
Description
Jupyter notebook version: latest, just brew installed it.
Installation in Jupyter notebook
# Install matplotlib for data visualization
%matplotlib
!pip install matplotlib
!pip install ipywidgets
Usage:
interact(plot_distribution, year=widgets.IntSlider(min=1, max=10, step=1, value=2))
It shows this as an output instead of a functioning slider:
interactive(children=(IntSlider(value=2, description='year', max=10, min=1), Output()), _dom_classes=('w…
<function __main__.plot_distribution(year)>
Metadata
Metadata
Assignees
Labels
No labels