matplotlib.axes.Axes.get_shared_x_axes

Axes.get_shared_x_axes()

Return a reference to the shared axes Grouper object for x axes.