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

Fix iframe in docker container #12

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Conversation

jnumainville
Copy link
Collaborator

Fixes #10
Verified by creating a docker container:

docker run -p 10000:8888 -p 8080:1234 ghcr.io/deephaven/deephaven-kube-demo-worker-jupyter:main

Then running the following code in a jupyter notebook in the docker container:

from deephaven_server import Server

s = Server(port=1234, jvm_args=["-Xmx10g"])
s.start()

from deephaven_ipywidgets import DeephavenWidget
from deephaven.plot.figure import Figure
from deephaven import empty_table
from deephaven import time_table
from deephaven import ugp

static_table = empty_table(100).update(["X = i", "Y = Math.sin(0.1 * X)"])

import os
os.environ['DEEPHAVEN_IPY_URL'] = "http://localhost:8080/"

static_widget = DeephavenWidget(static_table)
display(static_widget)

@jnumainville jnumainville added the bug Something isn't working label Apr 10, 2023
@jnumainville jnumainville requested a review from mofojed April 10, 2023 16:21
@jnumainville jnumainville self-assigned this Apr 10, 2023
@jnumainville jnumainville changed the title main Fix iframe in docker container Apr 10, 2023
@jnumainville jnumainville merged commit 5c08c84 into deephaven:main Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table Widget doesn't render in remote Jupyter Lab
2 participants