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

Using the GUI > Using Deephaven from Jupyter #101

Closed
margaretkennedy opened this issue Jan 8, 2024 · 1 comment
Closed

Using the GUI > Using Deephaven from Jupyter #101

margaretkennedy opened this issue Jan 8, 2024 · 1 comment
Assignees
Labels
enhancement New documentation request

Comments

@margaretkennedy
Copy link
Collaborator

Reviewer = @pete-petey

@margaretkennedy
Copy link
Collaborator Author

Are the current deephaven plotly widgets usable via the Python client (to render in Jupyter)?
Are deephaven.ui components usable via the Python client (to render in Jupyter)?

I can declare them on the server side – but given the types are not known to the client, even if I pull them over to the client, how would I render them on the client?

Fetch by the name:

from pydeephaven import Session from deephaven_ipywidgets import DeephavenWidget session = Session(auth_token="iris", auth_type="io.deephaven.authentication.psk.PskAuthenticationHandler") session.run_script(""" from deephaven import empty_table from deephaven.plot.figure import Figure t = empty_table(100).update(["X=i", "Y=i*i"]) f = Figure().plot_xy(series_name="X vs Y", t=t, x="X", y="Y").show() """) display(DeephavenWidget("f", session=session))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New documentation request
Projects
None yet
Development

No branches or pull requests

2 participants