````
---
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

<div type='discussions-op-text'>

<sup>Originally posted by **lukefullard** October 18, 2022</sup>
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</div>
cscheid
2023-04-29T17:52:01Z
cscheid
bug websites jupyter
v1.4
open
smooth-scroll and jupyter widgets don't play nice together
https://github.com/quarto-dev/quarto-cli/issues/5356