绘制简单的折线图-matplotlib

1.平方数折线图 import matplotlib.pyplot as plt input_values=[1,2,3,4,5] squares=[1,4,9,16,25] plt.plot(input_values,squares,linewidth=5) plt.title("Square Numbers", fontsize=24) plt.xlabel("Value", fontsi
相关文章
相关标签/搜索