import matplotlib.pyplot as pltx_values = [1,2,3,4,5]y_values = [1,4,9,16,25] # y_values = [x ** 1 for x in x_values]fig,ax = plt.subplots() ax.scatter(x_values,y_values,s=100) plt.show()
posted on 2021-03-13 23:54 winecork 阅读(61) 评论(0) 编辑 收藏 举报