quarto-dev / quarto-dev/quarto-cli
fig-width has no effect with jupyter engine
Open
@cscheid is already working on this.
Since Nov 3, 2022.
engines-jupyter
enhancement
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Consider the following code:
---
title: "Untitled"
format: pdf
engine: jupyter
---
```{python}
#| echo: false
#| fig-align: center
#| fig-width: 2
import matplotlib.pyplot as plt
x = [1, 2]
y = [2, 3]
plt.plot(x,y)
```
The chosen value for fig-width has no effect. I am using Quarto in RStudio.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.