Using the ax.scatter method, add the data to the plot: "co2" on the x-axis and "relative_temp" on the y-axis. Set the x-

动态 未结 0 118
小小草
小小草 LV1 2023年9月23日 23:40 发表
fig, ax = plt.subplots() # Add data: "co2" on x-axis, "relative_temp" on y-axis ax.scatter(data["co2"], data["relative_temp"]) # Set the x-axis label to "CO2 (ppm)" ax.set_xlabel("CO2 (ppm)") # Set the y-axis label to "Relative temperature (C)" ax.set_ylabel("Relative temperature (C)") plt.show()
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复