Additional packages for data visualization support
Execute the following steps to support the data visualization feature in Jupyter Notebook:
ipywidgetsPython package (version 7.x or higher is required):
pip install ipywidgets
The visualization of previously created documents does not work after updating to ipywidgets 7.x. Perform the following steps to make the old contents work:
- Create a new Jupyter document. The file name must differ from the old one.
- Paste the contents of the old file to the new one.
- (Optionally) Refresh the Notebook page and restart the kernel if the visualization does not work.
Turn on the widgets extension:
jupyter nbextension enable --py widgetsnbextension