"not found" messages when using plotly + embed-resources in revealjs #13417
-
DescriptionQuarto version: 1.8.24 In VSC, I see these 404 not found messages in the terminal when running (in preview) the script below.
This only happens when I'm aware that a limitation of this feature is that "resources that are loaded dynamically through JavaScript cannot be incorporated; as a result, some advanced features (e.g. zoom or speaker notes) may not work in an offline “self-contained” reveal.js slide show." As far as I can see, I have all the extensions updated in VSC, I guess it is not related to that. Anyway, I just wonder if it is it something I need to worry/do something about?. Thanks!! ---
format: revealjs
execute:
eval: true
echo: true
embed-resources: true
---
## Extension not found
When using this presentation in VS code, I see the following messages:
I see these messages in the terminal:
| [/extensions/MathMenu.js (404: Not Found)]{style="color: #cc0000"}
| [/extensions/MathZoom.js (404: Not Found)]{style="color: #cc0000"}
## Plotly script
```{python}
#| echo: false
#| output: true
import plotly.graph_objects as go
import numpy as np
C = 0
x_range = np.linspace(-10, 10, 100)
y_initial = np.full_like(x_range, C)
fig = go.Figure()
fig.add_trace(
go.Scatter(
x=x_range,
y=y_initial,
mode='lines',
name=f'Y = {C:.2f}',
line=dict(width=3)
)
)
fig
```
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Did you look for related or similar issues/discussions such as: |
Beta Was this translation helpful? Give feedback.
-
I think you answered your own question:
We don't control the javascript used by plotly, and so we cannot tell you if it is it something you need to worry/do something about; you'll need to independently test the plotly features you need. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I think you answered your own question:
We don't control the javascript used by plotly, and so we cannot tell you if it is it something you need to worry/do something about; you'll need to independently test the plotly features you need.