You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use the show function to display any output the cell will run without errors, however there is a blank cell output with no interactive display. I have used the set_show_addr((ip,port)) function to set the appropriate ip address and port for my server/instance, so the cell runs just fine, it's just the display that is missing:
After some investigating I think it has to do with dash. When I run the dash demo below I get the same blank cell output with mode = "inline", however I am able to get the expected output with mode = "external". Do you have any insight into why the external mode seems to work for dash and not the inline mode? Are there any plans or thoughts around adding an option to the interpret package for setting the dash mode to external for displays, much like I was able to set up ip address and port?
Dash Demo:
import dash_core_components as dcc
import dash_html_components as html
import plotly.express as px
from dash.dependencies import Input, Output
from jupyter_dash import JupyterDash
df = px.data.tips()
app = JupyterDash(__name__)
app.layout = html.Div(
[
html.H1("JupyterDash Demo"),
dcc.Graph(id="graph"),
html.Label(
[
"colorscale",
dcc.Dropdown(
id="colorscale-dropdown",
clearable=False,
value="plasma",
options=[
{"label": c, "value": c} for c in px.colors.named_colorscales()
],),]),])
@app.callback(Output("graph", "figure"), [Input("colorscale-dropdown", "value")])
def update_figure(colorscale):
return px.scatter(
df,
x="total_bill",
y="tip",
color="size",
color_continuous_scale=colorscale,
render_mode="webgl",
title="Tips",
)
@interpret-ml - I am working on a Linux Virtual Machine from a Windows PC. Both the Windows PC (Windows 10) and Linux VM (Red Hat Enterprise Linux Server release 7.9 (Maipo)) are on my corporate network. On the Linux VM I'm using a Virtual Environment to run JupyterLab on Chrome. Versions of packages below:
When I try to use the show function to display any output the cell will run without errors, however there is a blank cell output with no interactive display. I have used the set_show_addr((ip,port)) function to set the appropriate ip address and port for my server/instance, so the cell runs just fine, it's just the display that is missing:
After some investigating I think it has to do with dash. When I run the dash demo below I get the same blank cell output with mode = "inline", however I am able to get the expected output with mode = "external". Do you have any insight into why the external mode seems to work for dash and not the inline mode? Are there any plans or thoughts around adding an option to the interpret package for setting the dash mode to external for displays, much like I was able to set up ip address and port?
Dash Demo:
Cell runs, but output is blank:
Cell runs and output can be seen in a new tab that pops up:
The text was updated successfully, but these errors were encountered: