... syntax to set the axis ranges for a plot in Matplotlib: #specify x-axis range plt.xlim(1, 15) #specify y-axis range plt.ylim(1, 30).
確定! 回上一頁