✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Synchronize Margins between two Figures

I have two figures that I want to share common layout properties but cannot be in a subplot. The first sometimes has long y-axis labels, so I’d like to let it have automargin for the y-axis to rearrange the figure for readability. Whenever this happens, however, I’d like the second plot to also change it’s margins to match (even though it doesn’t have a long y-label causing it to do so automatically). Any suggestions on how to do this? I thought of inspecting the Figure1 y-axis in a callback for Figure2, but I don’t see the details I need.

Thanks!