PdVega installation¶
PdVega can be installed with
$ pipenv install pdvega
Installing pdvega…
Adding pdvega to Pipfile's [packages]…
✔ Installation Succeeded
…
$ pipenv run jupyter nbextension install --sys-prefix --py vega3
Installing /srv/jupyter/.local/share/virtualenvs/python-374-c_ntaqVM/lib/python3.7/site-packages/vega3/static -> jupyter-vega3
…
- Validating: OK
To initialize this nbextension in the browser every time the notebook (or other app) loads:
jupyter nbextension enable vega3 --py --sys-prefix
See also
Dependencies¶
To be able to save plots as PNG or SVG, the command line tools vl2png
and
vl2svg
from the vega-lite-npm package
must be available.