📜  子图 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:33.429000             🧑  作者: Mango

代码示例2
# new style method 1; unpack the axes
fig, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2, 2, sharex=True, sharey=True)
ax1.plot(x)