1.6.8 • Published 2 days ago

vegafusion-jupyter v1.6.8

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
2 days ago

VegaFusion Jupyter

This directory contains the vegafusion-jupyter package. For documentation on using this package to display Altair visualizations powered by VegaFusion in Jupyter contexts, see https://vegafusion.io.

The content below was autogenerated by Jupyter Widget cookiecutter

vegafusion-jupyter

Build Status codecov

Altair Jupyter Widget library that relies on VegaFusion for serverside calculations

Installation

You can install using pip:

pip install vegafusion_jupyter

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:

jupyter nbextension enable --py [--sys-prefix|--user|--system] vegafusion_jupyter

Development Installation

Create a dev environment:

conda create -n vegafusion_jupyter-dev -c conda-forge nodejs yarn python jupyterlab
conda activate vegafusion_jupyter-dev

Install the python. This will also build the TS package.

pip install -e ".[test, examples]"

When developing your extensions, you need to manually enable your extensions with the notebook / lab frontend. For lab, this is done by the command:

jupyter labextension develop --overwrite .
yarn run build

For classic notebook, you need to run:

jupyter nbextension install --sys-prefix --symlink --overwrite --py vegafusion_jupyter
jupyter nbextension enable --sys-prefix --py vegafusion_jupyter

Note that the --symlink flag doesn't work on Windows, so you will here have to run the install command every time that you rebuild your extension. For certain installations you might also need another flag instead of --sys-prefix, but we won't cover the meaning of those flags here.

How to see your changes

Typescript:

If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the widget.

# Watch the source directory in one terminal, automatically rebuilding when needed
yarn run watch
# Run JupyterLab in another terminal
jupyter lab

After a change wait for the build to finish and then refresh your browser and the changes should take effect.

Python:

If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.

1.6.8

2 days ago

1.6.7

28 days ago

1.6.6

2 months ago

1.6.5

2 months ago

1.6.4

3 months ago

1.6.4-rc1

3 months ago

1.6.3

3 months ago

1.6.2

3 months ago

1.6.1

4 months ago

1.6.0

4 months ago

1.6.0-rc1

5 months ago

1.5.1

5 months ago

1.5.0

5 months ago

1.4.5

6 months ago

1.4.4

6 months ago

1.4.3

6 months ago

1.4.2

7 months ago

1.4.1

7 months ago

1.4.0

9 months ago

1.3.0-rc3

12 months ago

1.3.0-rc4

12 months ago

1.3.0

11 months ago

1.4.0-rc5

10 months ago

1.4.0-rc4

10 months ago

1.4.0-rc3

10 months ago

1.4.0-rc2

10 months ago

1.4.0-rc1

11 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.0-rc2

1 year ago

1.0.0-rc3

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.1.3

1 year ago

1.0.4

1 year ago

1.2.1

1 year ago

1.1.2

1 year ago

1.0.3

1 year ago

1.3.0-rc1

12 months ago

1.3.0-rc2

12 months ago

1.1.0-rc5

1 year ago

1.1.0-rc4

1 year ago

1.1.0-rc1

1 year ago

1.1.0-rc3

1 year ago

1.1.0-rc2

1 year ago

1.0.0-rc1

1 year ago

0.11.0-rc11

1 year ago

0.11.0-rc12

1 year ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.6.2

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.4.0

2 years ago

0.1.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.1-alpha.2

2 years ago

0.0.1-alpha.1

2 years ago