Replies: 2 comments 9 replies
-
Why do you have two spaces in I don't think Quarto allowed any number of spaces here. You can open your HTML, use "inspect / developer mode" of your favourite browser to see if your figure has a "a-cell" ID which I doubt. |
Beta Was this translation helpful? Give feedback.
3 replies
-
It seems the ---
title: Rearrange altair chart content
format: html
---
## A section
Here we define a plot.
```{python}
#| echo: true
#| label: a-cell
import altair as alt
from vega_datasets import data
source = data.iowa_electricity()
alt.Chart(source).mark_area(opacity=0.3).encode(x="year:T", y=alt.Y("net_generation:Q").stack(None), color="source:N")
```
## Results
{{< contents a-cell >}}
Let's open an issue and look into this. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello,
I am trying to rearrange the output of a chart made with altair.
As followed here https://quarto.org/docs/authoring/contents.html
The output is not displayed.
Is it only working with matplotlib ?
Beta Was this translation helpful? Give feedback.
All reactions