You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure that fig-height/fig-width cell options are being applied in a pyodide cell. If I'm remembering, the underlying matplotlib integration is using a custom shim?
---title: "graph resize"format: live-revealjs---## Let's graph```{pyodide}#| fig-height: 3#| fig-width: 3#| echo: false#| autorun: trueimport numpy as npimport matplotlib.pyplot as plta = 1b = 0x = np.linspace(0, 10, 100)y = a * x + bplt.figure(figsize=(8, 4))plt.plot(x, y)plt.grid(True)plt.title(f'Linear Function: y = {a}x + {b}')plt.show()```
The text was updated successfully, but these errors were encountered:
Not sure that
fig-height
/fig-width
cell options are being applied in a pyodide cell. If I'm remembering, the underlyingmatplotlib
integration is using a custom shim?The text was updated successfully, but these errors were encountered: