You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When embedding a cell from another document, which contains a Plotly plot, in a Qmd file everything works fine. However, when embedding another cell from another document later in the same Qmd file, the Plotly plot fails to render.
The browser outputs:
Failed to load resource: net::ERR_FILE_NOT_FOUND
require.min.js:1 Uncaught Error: Script error for "plotly"
https://requirejs.org/docs/errors.html#scripterror
at makeError (require.min.js:1:1795)
at HTMLScriptElement.onScriptError (require.min.js:1:17084)
# Plot
{{< embed plot.ipynb#plot >}}
# Table
no table
the plot will render.
Expected behavior
The Plotly plot should render irrespectively of other included cells.
Actual behavior
The browser console outputs:
Failed to load resource: net::ERR_FILE_NOT_FOUND
require.min.js:1 Uncaught Error: Script error for "plotly"
https://requirejs.org/docs/errors.html#scripterror
at makeError (require.min.js:1:1795)
at HTMLScriptElement.onScriptError (require.min.js:1:17084)
and no plot renders.
Your environment
WSL Ubuntu
Quarto check output
'Quarto 1.5.55[✓] Checking versions of quarto binary dependencies... Pandoc version 3.2.0: OK Dart Sass version 1.70.0: OK Deno version 1.41.0: OK Typst version 0.11.0: OK[✓] Checking versions of quarto dependencies......OK[✓] Checking Quarto installation......OK Version: 1.5.55 Path: /opt/quarto/bin[✓] Checking tools....................OK TinyTeX: (not installed) Chromium: (not installed)[✓] Checking LaTeX....................OK Tex: (not detected)[✓] Checking basic markdown render....OK[✓] Checking Python 3 installation....OK Version: 3.10.12 Path: /home/chirche/Documents/test_quarto/.venv/bin/python Jupyter: 5.7.2 Kernels: python3, sparkrkernel, sparkkernel, pysparkkernel(|) Checking Jupyter engine render....Traceback (most recent call last): File "/opt/quarto/share/jupyter/jupyter.py", line 21, in <module> from notebook import notebook_execute, RestartKernel File "/opt/quarto/share/jupyter/notebook.py", line 15, in <module> from yaml import safe_load as parse_stringModuleNotFoundError: No module named 'yaml'[✓] Checking Jupyter engine render....OK
The text was updated successfully, but these errors were encountered:
Bug description
When embedding a cell from another document, which contains a Plotly plot, in a Qmd file everything works fine. However, when embedding another cell from another document later in the same Qmd file, the Plotly plot fails to render.
The browser outputs:
Steps to reproduce
Reproduce using the following files
doc.qmd
plot.ipynb
table.ipynb
When modifying doc.qmd like so:
doc.qmd
the plot will render.
Expected behavior
The Plotly plot should render irrespectively of other included cells.
Actual behavior
The browser console outputs:
and no plot renders.
Your environment
WSL Ubuntu
Quarto check output
The text was updated successfully, but these errors were encountered: