diff --git a/CHANGELOG.md b/CHANGELOG.md index caea5dd..84c0243 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.2.0 + +- Feat: update Jupyter Scatter and activate tooltips + # 0.1.1 - Fix: allow customizing embeddings via `EmbeddingComparisonWidget()` diff --git a/pyproject.toml b/pyproject.toml index 168a4fb..4e453ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "cev-metrics>=0.1.2", "ipywidgets>=8.0.0", "jinja2>=3.0.0", - "jupyter-scatter>=0.12.2", + "jupyter-scatter>=0.14.0", "pandas>=1.0", ] dynamic = ["version"] diff --git a/src/cev/_embedding_widget.py b/src/cev/_embedding_widget.py index 7dea648..a95099f 100644 --- a/src/cev/_embedding_widget.py +++ b/src/cev/_embedding_widget.py @@ -132,10 +132,13 @@ def from_embedding( axes=axes, opacity_by="density", lasso_initiator=False, + tooltip=True, + tooltip_contents=("color"), **kwargs, ) for _ in range(2) ) + # link the plots together with js link_widgets( (categorical_scatter.widget, "selection"),