This commit is contained in:
2022-03-16 19:37:32 +08:00
parent 3f91ca3bdd
commit 27cafcd10c
9 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(range(10), range(10))
ax.set_title('Example', fontsize=20, fontfamily='Times New Roman')
ax.set_xlabel('x', fontsize=20, fontfamily='Times New Roman')
ax.set_ylabel('y', fontsize=20, fontfamily='Times New Roman')
plt.show()