-
Notifications
You must be signed in to change notification settings - Fork 353
Plotly v6 does not showing in HTML with some JS conflict #12061
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
Comments
From
( |
For reference similar issue with .ipynb in Positron which points to broader plotly issue |
You can use ---
title: "About"
jupyter: python3
execute:
enabled: true
---
```{python}
import plotly.express as px
import plotly.io as pio
pio.renderers.default = "iframe"
gapminder = px.data.gapminder()
def gapminder_plot(year):
gapminderYear = gapminder.query("year == " +
str(year))
fig = px.scatter(gapminderYear,
x="gdpPercap", y="lifeExp",
size="pop", size_max=60,
hover_name="country")
fig.show()
gapminder_plot(1957)
gapminder_plot(2007) |
I had the same Issue but with I'm exporting with |
This is now solved in plotly. Quarto works when using plotly.py 6.0.1 See comments in |
Simple example for basic plotly example with new plotly 6.
https://plotly.com/python/figure-structure/
Error in browser console are:
Using plotly 5.24, it works ok. So something changed in plotly that makes rendering with Quarto fails.
The text was updated successfully, but these errors were encountered: