holoviz-topics / examples

Visualization-focused examples of using HoloViz for specific topics
https://examples.holoviz.org
Creative Commons Attribution 4.0 International
82 stars 24 forks source link

Add t_sne_roots project #286

Closed jlstevens closed 8 months ago

jlstevens commented 1 year ago

Adds an interactive dimensionality reduction dashboard example with instant inspection hover.

UMAP_hover_dashboard

Wondering if we should leave the training data on hugging face or grab our own copy...

droumis commented 1 year ago

it would be amazing if the hover tooltip is hidden or suppressed when the cursor is not near a real data point; that would make this inspection much more like what users experience for non-image plots.

I'm guessing this would require a custom hovertool and customjs callback that sets the visibility of the tooltip based on the data value

github-actions[bot] commented 1 year ago

Your changes were successfully integrated in the dev site, make sure to review the pages of the projects you touched before merging this PR: https://holoviz-dev.github.io/examples/. You can also download an archive of the site from the workflow summary page which comes in handy when your dev site built was overriden by another PR (we have a single dev site!).

maximlt commented 1 year ago

Oh I forgot about that bot, happy that it worked: https://holoviz-dev.github.io/examples/t_sne_roots/t_sne_roots.html

jlstevens commented 1 year ago

@droumis That is an excellent observation! Ideally this is something we could push to the Bokeh level...

MarcSkovMadsen commented 1 year ago

Would it be an idea to make the plot responsive? (Yes 😉)

jbednar commented 1 year ago

Would it be an idea to make the plot responsive?

Yes 😉. Jean-Luc indicated that the tricky aspect of that was, well, the aspect, in that the plot gets squished. But I argue that the plot should fill the template fully, but with black on either side initially and showing the complete data when zooming in. Using only the largest square plot is fine for a static plot, but as soon as one zooms in, it feels very constraining to be locked into that tiny box.

jbednar commented 1 year ago

Wondering if we should leave the training data on hugging face or grab our own copy...

Definitely grab our own copy.

jlstevens commented 8 months ago

Superseded by https://github.com/holoviz-topics/examples/pull/337 which introduces client side color mixing.

I'll address the question about the potential colormaps there.