ax1 = fig.add_subplot(2,2,1)
时间: 2023-12-06 19:05:07 浏览: 115
Python使用add_subplot与subplot画子图操作示例
This line of code creates a new subplot in a 2x2 grid of subplots and sets it as the first subplot. The subplot will be located in the top left corner of the grid. The variable ax1 will reference this subplot, allowing you to modify its properties and add data to it.
阅读全文