📅  最后修改于: 2022-03-11 14:45:16.112000             🧑  作者: Mango
from matplotlib import pyplot as plt
plt.plot(range(5))
plt.xlim(-3, 3)
plt.ylim(-3, 3)
plt.gca().set_aspect('equal', adjustable='box')
plt.draw()