see jupyter notebook extensions code example
Example 1: download nbextensions
pip install jupyter_contrib_nbextensions
Example 2: jupyter nbextension
jupyter contrib nbextension install --user
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user