matplotlib / 3.4 / _as_gen / matplotlib.axes.axes.sharex.html

matplotlib.axes.Axes.sharex

Axes.sharex(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.3/api/_as_gen/matplotlib.axes.Axes.sharex.html