Subplot shareX and shareY only work by column and row!

Ok that did the job for me

fig.update_yaxes(matches='y')

cf Axes in Python