matplotlib.axes.Axes.sharex

Axes.sharex(self, other)

Share the x-axis with other.

This is equivalent to passing sharex=other when constructing the axes, and cannot be used if the x-axis is already being shared with another axes.

Examples using matplotlib.axes.Axes.sharex

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.1/api/_as_gen/matplotlib.axes.Axes.sharex.html