Skip to content

Does not work on MacOS #3965

Open
Open
@ruidazeng

Description

@ruidazeng

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions