Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-notebook UX: widgets #62

Open
enjalot opened this issue Sep 20, 2024 · 0 comments
Open

In-notebook UX: widgets #62

enjalot opened this issue Sep 20, 2024 · 0 comments
Labels
help wanted Extra attention is needed python web
Milestone

Comments

@enjalot
Copy link
Owner

enjalot commented Sep 20, 2024

Many users of Latent Scope are probably working in some kind of jupyter notebook, and the data they want to visualize is already loaded as some kind of DataFrame (pandas, polars?).

It would be ideal if running the dataframe through the latent scope process was a very simple call to a function in the notebook that did not require opening up a separate web app. If we could put the setup process into a widget then the user could call a single function with their dataframe as input and results in a new dataframe with latent scope annotations. Perhaps we have another widget for the exploration visualization.

To implement this ipyreact looks promising, built on top of anywidget

Setup widget

Once #56 is completed, we can likely fit it into a widget. Especially if we design with this feature in mind.

A big consideration is how we deal with the file system, intermediate files in the process and passing/loading the results when the setup is complete.

Explore widget

Once #59 is completed, this should also be easier to implement. The widget format is more wide than tall which will likely suit our purposes. Some considerations would be what we want to export from the widget back into the notebook.

@enjalot enjalot added help wanted Extra attention is needed python web labels Sep 20, 2024
@enjalot enjalot added this to the 1.0 milestone Sep 20, 2024
@enjalot enjalot modified the milestones: 1.0, 2.0 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed python web
Projects
None yet
Development

No branches or pull requests

1 participant