Figure创建及其参数设置
import matplotlib.pyplot as plt
import numpy as np
plt.figure()
plt.show()
import matplotlib.pyplot as plt
plt.figure("hello", (0.5, 2), facecolor="b", edgecolor="green")
plt.show()
赞 (0)
import matplotlib.pyplot as plt
import numpy as np
plt.figure()
plt.show()
import matplotlib.pyplot as plt
plt.figure("hello", (0.5, 2), facecolor="b", edgecolor="green")
plt.show()