Plotly render issue inside ipywidgets output
dev4min opened this issue · 1 comments
dev4min commented
Hi
This code works fine in Jupyter Lab, but there's no plot in VSCode:
import plotly.express as px
import ipywidgets as widgets
from IPython.display import display
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species", marginal_y="violin",
marginal_x="box", trendline="ols", template="plotly_dark")
out = widgets.Output()
display(out)
with out:
fig.show()
EDIT:
Ok, I tested again with a remote jupyter server in VSC and it's now working!
But it doesn't work with local jupyter server, should I enable something?
Is there any workaround?
DonJayamanne commented
Duplicate of microsoft/vscode-jupyter#5871