matplotlib.axes.Axes.sharex#

Axes.sharex(other)[source]#

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. Note that it is not possible to unshare axes.

Examples using matplotlib.axes.Axes.sharex#

Power spectral density (PSD)

Power spectral density (PSD)