diff options
| -rw-r--r-- | test.qmd | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test.qmd b/test.qmd deleted file mode 100644 index 81e507a..0000000 --- a/test.qmd +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: "Quarto Basics" -format: - html: - code-fold: true -jupyter: python3 ---- - -For a demonstration of a line plot on a polar axis, see @fig-polar. - -```{python} -#| label: fig-polar -#| fig-cap: "A line plot on a polar axis" - -import numpy as np -import matplotlib.pyplot as plt - -r = np.arange(0, 2, 0.01) -theta = 2 * np.pi * r -fig, ax = plt.subplots( - subplot_kw = {'projection': 'polar'} -) -ax.plot(theta, r) -ax.set_rticks([0.5, 1, 1.5, 2]) -ax.grid(True) -plt.show() -``` |
