matplotlib.axes.Axes.get_yaxis

Axes.get_yaxis()[source]

Return the YAxis instance.

The use of this function is discouraged. You should instead directly access the attribute ax.yaxis.