A simple Jupyter Notebook extension that adds a button to enter and run the configuration needed to use Altair.
- Install:
pip install jupyter_contrib_nbextensions && jupyter contrib nbextensions install
(more info here). - Install and enable a new Jupyter Notebook extension (more info here):
jupyter nbextension install /Users/joao.palmeiro/Documents/GitHub/jupyter-notebook-extensions/default-altair-cell --sys-prefix
.jupyter nbextension enable default-altair-cell/default-altair-cell --sys-prefix
.
- Check the Location of a package:
pip show jupyter_contrib_nbextensions
. - Check the (Jupyter) config directories:
jupyter --paths
.
- Koehrsen, W. (2018, December 8). How to Write a Jupyter Notebook Extension. Towards Data Science. https://towardsdatascience.com/how-to-write-a-jupyter-notebook-extension-a63f9578a38c