1
可以做有没有办法在matplotlib中创建不同坐标轴后绑定轴?
fig, ax = subplots(nrows=2, ncols=2, sharex=True, sharey=True)
使轴共享轴。
我想以更复杂的方式将不同子图的不同轴连接在一起,例如ax1到ax2的x轴,但ax2的y轴到ax3等。
我认为的一种方法是致电subplot
并使用sharex/sharey
关键字,但这是在创建时完成的。 在创建轴之后,matplotlib中是否有面向对象的方法?