plt.subplots()中axes是什么
时间: 2023-11-20 10:17:11 浏览: 58
在plt.subplots()函数中,axes是一个包含子图对象的数组。它可以用来在不同的子图中绘制不同的图形。通过axes可以调用不同的绘图函数,如axes.plot(x, y)来画折线图,axes.bar(x, y)来画柱状图等。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Matplotlib笔记一:二维图形](https://download.csdn.net/download/weixin_38630324/14855443)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [python绘制子图技巧——plt.subplot和plt.subplots、及坐标轴修改](https://blog.csdn.net/m0_67392010/article/details/125241307)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文