import matplotlib.pyplot as plt
# 绘制折线图
squares = [1, 4, 9, 16, 25]
# plt.plot(squares, linewidth=5) # 指定折线粗细,
# #plt.show();
#
# #修改标签文字和线条粗细
# plt.title("squre number", fontsize=24)
# plt.xlabel("Value", fontsize=14)
# plt.ylabel("square of value", fontsize=14)
# plt.tick_params(axis='both', labelsize=14)
# plt.show()
# 校正图形
input_values = [1, 2, 3, 4, 5]
plt.plot(input_values, squares, linewidth=5)
plt.show()