set_size_inches() that is used to set the figure size in inches. import matplotlib.pyplot as pltx = y = range(1, 10)plt.plot(x, y)
確定! 回上一頁