Hello, Quarto

python
demo
Author

Abhi

Published

June 17, 2026

A quick test that Python execution and figure rendering work end to end.

import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 2 * np.pi, 200)
y = np.sin(x)

fig, ax = plt.subplots()
ax.plot(x, y)
ax.set_xlabel("x")
ax.set_ylabel("sin(x)")
ax.set_title("A sine wave")
plt.show()