Add the data from climate_change to the plot: use the DataFrame index for the x value and the "relative_temp" column for

动态 未结 0 97
小小草
小小草 LV1 2023年9月23日 23:40 发表
下面是完整代码: ```python import matplotlib.pyplot as plt fig, ax = plt.subplots() # Add the time-series for "relative_temp" to the plot ax.plot(climate_change.index, climate_change["relative_temp"]) # Set the x-axis label ax.set_xlabel("Time") # Set the y-axis label ax.set_ylabel("Relative temperature (Celsius)") # Show the figure plt.show() ```
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复