koaning / cluestar

Gain clues from clustering!
https://koaning.github.io/cluestar/
MIT License
304 stars 14 forks source link

Zooming into specific areas of the plot #7

Open sutgeorge opened 3 months ago

sutgeorge commented 3 months ago

Hello! I've noticed that Jupyter Notebooks opened in VSCode seem to not allow zooming into the plots containing the embeddings. This is a bit strange and I'm wondering if there is a similar issue for the browser-based Jupyter Notebook/JupyterLab variant.

I will try to open the "Overview" notebook in the browser instead of VSCode, but my humble suggestion is that the project would really benefit a lot from having zoom-in/zoom-out buttons on the generated plot.

Excuse my ignorance if I somehow missed a detail regarding a zoom-in feature that might already be implemented 😃

Cheers!

sutgeorge commented 3 months ago

By the way, I did notice that the [whatlies]() project is capable of doing this.

sutgeorge commented 3 months ago

I tried doing this in the browser-based Jupyter Notebook and it doesn't work either. I know that we have a rectangle selection feature, but I assume that some clusters will only be visible from a closer view. Hence, I think a zoom-in feature would be beneficial.

koaning commented 3 months ago

The whatlies package was very popular but has since been deprecated. Too much a burden to maintain.

The phenomenon that you describe sounds like it might be remedied by upgrading altair, did you try that?