The figure has a content vector where objects that were created with Axis(f... etc should be stored. So you can filter axes from there. You can also go through the nested layouts but that’s more work. Layouts are kind of decoupled from figures, something can be in a layout but doesn’t have to be in the figure, and vice versa.
f = Figure()
for i in 1:4, j in 1:4
scatter(f[i, j], randn(10, 2))
end
linkaxes!(filter(x -> x isa Axis, f.content)...)
f
That would be super cool, but would probably require more work for linking all the observables including the rotation of the axes and so on. What would be the observables, that I need to bind in order to do this? Is there something that would be necessary to “link” besides the axis attributes?