One can do
fig, ax = subplots(nrows=2, ncols=2, sharex=True, sharey=True)
to make axes sharing axis.
I want to tie together different axis of different subplots in a more complicated way, e.g., x-axis of ax1 to ax2, but y-axis of ax2 to ax3 and such.
One way I think is to call subplot
and use sharex/sharey
keywords, but this is done at creation.
Is there an object-oriented way to do this in matplotlib after the creation of axes?