Contents

Hello, Quarto

Contents

Math

Not yet working.

Polar Axis

For a demonstration of a line plot on a polar axis, see Figure 1.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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()
Figure 1: A line plot on a polar axis
1
2
3
4
import pandas as pd

df = pd.DataFrame({ "a": range(10) })
df

a
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9