Skip to content

Commit

Permalink
Update jscatter and enable tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
flekschas-ozette committed Aug 25, 2023
1 parent 466fe04 commit 418a7c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.2.0

- Feat: update Jupyter Scatter and activate tooltips

# 0.1.1

- Fix: allow customizing embeddings via `EmbeddingComparisonWidget()`
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 3 additions & 0 deletions src/cev/_embedding_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 418a7c9

Please sign in to comment.