import matplotlib.pyplot as plt import numpy as np
fig = plt.figure()
ax = fig.add_subplot(111, projection='polar')
ax.set_xticks(np.arange(1, 25) * np.pi / 12) ax.set_xticklabels([str(number) for number in range(1, 25)])
ax.set_yticks(range(1, 32)) ax.set_yticklabels([str(number) for number in range(1, 32)])
ax.grid(True)
ax.scatter(np.pi / 12 * 24, 31)
ax.set_ylim(0, 32)
plt.show()enter image description here