TypeError: html.map is not a function #7689
Replies: 4 comments 1 reply
-
So, with some row-by-row debug, it appears the culprit is printing a df's |
Beta Was this translation helpful? Give feedback.
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded Python code similarly to Jupyter Notebook.
When you run the code, it will produce a plot.
```{python}
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.cm as cm
delta = 0.025
x = np.arange(-3.0, 3.0, delta)
y = np.arange(-2.0, 2.0, delta)
X, Y = np.meshgrid(x, y)
Z1 = np.exp(-X**2 - Y**2)
Z2 = np.exp(-(X - 1)**2 - (Y - 1)**2)
Z = (Z1 - Z2) * 2
fig, ax = plt.subplots()
CS = ax.contour(X, Y, Z)
ax.clabel(CS, inline=True, fontsize=10)
ax.set_title('Simplest default with labels')
```
The end.
```` |
Beta Was this translation helpful? Give feedback.
-
Sure. This is test.ipynb: two cells, one is
and the other, which is to be embedded, is
Then, test.qmd is:
The error I get is:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have an ipynb notebook that I'm trying to embed some cells for into a Quarto HTML document. For instance, I've got
and I'm trying to embed this as
I'm getting this error:
This is rather perplexing, as I've done embeds in the past with no issues. What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions