quarto-dev / quarto-dev/quarto-cli
smooth-scroll and jupyter widgets don't play nice together
Open
@cderv is already working on this.
Since Jul 11, 2024.
bug
engines-jupyter
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
---
title: "plotly plot"
---
```{python}
import plotly.express as px
import plotly.io as pio
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="simple_white")
fig.show()
```
A user suggests that smooth-scroll is to blame.
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/2920
Originally posted by lukefullard October 18, 2022
Hi all,
Occasionally when I load a html page with inspect mode activated I see the following error in the console:
site_compare.html:3905 Uncaught Error: Mismatched anonymous define() module: [object Object]
https://requirejs.org/docs/errors.html#mismatch
at makeError (site_compare.html:3905:1803)
at T (site_compare.html:3905:8685)
at site_compare.html:3905:15076
Also, sometimes Python generated figures don't show unless I refresh the page.
Has anyone had this issue before?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.