I'm using blogdown to build a site. In one post I have a plot created with the following code chunk:
```{r, scatter-plot, echo = F}
library(ggplot2)
ggplot(df, aes(x = x, y = y, color = group)) +
geom_point()
```
This generates an image named "scatter-plot" inside my static directory, so everything works as expected.
However, if I run a python chunk, the name of the resulting image is "unnamed-chunk", despite I've also added a chunk label:
```{python, scatter-plot-sns, echo = F}
import seaborn as sns
sns.scatterplot(x = x, y = y)
```
I also tried explicitly setting the label
argument of the chunk, but it didn't work.
Why the chunk names doesn't work when using Python?