Version 2.2.4
matplotlib

matplotlib.axes.Axes.get_shared_x_axes

Axes.get_shared_x_axes()

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