Import the matplotlib.pyplot submodule as plt. Create a Figure and an Axes object by calling plt.subplots. Add data from

动态 未结 0 150
小小草
小小草 LV1 2023年9月23日 23:40 发表
下面是完整代码: ```python # Import the matplotlib.pyplot submodule and name it plt import matplotlib.pyplot as plt # Create a Figure and an Axes with plt.subplots fig, ax = plt.subplots() # Plot MLY-PRCP-NORMAL from seattle_weather against the MONTH ax.plot(seattle_weather["MONTH"], seattle_weather["MLY-PRCP-NORMAL"]) # Plot MLY-PRCP-NORMAL from austin_weather against MONTH ax.plot(austin_weather["MONTH"], austin_weather["MLY-PRCP-NORMAL"]) # Call the show function plt.show() ```
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复