matplotlib库画矩形
这样可以很清晰的看到各个参数是怎样控制作图的
import matplotlib.pyplot as plt
if __name__ == "__main__":
fig1 = plt.figure()
ax1 = fig1.add_subplot(111)
rect=plt.Rectangle(
(
import matplotlib.pyplot as plt
if __name__ == "__main__":
fig1 = plt.figure()
ax1 = fig1.add_subplot(111)
rect=plt.Rectangle(
(