Skip to content

Dependencies on Seaborn and TQDM are not implied by the installation of Jupyter Scatter #198

@hamelin

Description

@hamelin

When installing a package, it is customary to expect all its external dependencies to be pulled in implicitly. However, the dependencies on seaborn and tqdm are not. For instance, I create the following virtual environment, on a Bourne-compatible shell, and start Jupyter Lab:

python -m venv .venv
. .venv/bin/activate
pip install jupyterlab jupyter-scatter
jupyter lab

I then create a new notebook, and try to run

from jscatter import Scatter

The first time, it raises an exception saying that package seaborn cannot be imported. I pip-install Seaborn, then restart the kernel and retry. This time, the same import cell raises that package tqdm cannot be imported.

The solution would be to add these two packages to the formal dependencies of jupyter-scatter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions