Skip to content

Column margin for Jupyter with matplotlib is not scaled #11240

Open
@cderv

Description

@cderv

I don't think this (#5516 s fixed. When I follow the example above:

---
title: "Quarto Playground"
format: html
engine: jupyter
---

This is a playground for Quarto.

```{python}
#| fig-cap: "ReLU function"
#| column: margin
#| echo: false
import matplotlib.pyplot as plt
plt.plot([-1, 0, 1], [0, 0, 1])
plt.show()
```

I still see a non-fitting image in the margin.

Quarto 1.5.57
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.2.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.41.0: OK
      Typst version 0.11.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.57
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: Installation From Path
      Path: /Library/TeX/texbin
      Version: 2021

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.10.12
      Path: /Users/USERNAME//quarto-example/quarto_env/bin/python3
      Jupyter: 5.7.2
      Kernels: python3

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

Originally posted by @birnstiel in #5516

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions