-
DescriptionDoes anyone have any workarounds for using plotnine with typst in quarto doc? With the qmd below I get this error:
temp.qmd---
format: typst
---
```{python}
import pandas as pd
from plotnine import ggplot, aes, geom_point, theme_minimal
data = pd.DataFrame({
'x': [1, 2, 3, 4, 5],
'y': [1, 4, 9, 16, 25]
})
(
ggplot(data, aes(x='x', y='y')) +
geom_point(color='blue', size=2) +
theme_minimal()
)
``` For reference, this works fine with an R chunk: ---
format: typst
---
```{r}
library(ggplot2)
ggplot(quakes) +
geom_point(aes(x = lat, y = long, fill = mag))
``` Using: |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
Aug 11, 2024
Replies: 1 comment 2 replies
-
I don't get any errors on 1.6 and can reproduce on 1.5.56. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
boshek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't get any errors on 1.6 and can reproduce on 1.5.56.