In matplotlib, interactive plot windows show the mouse cursor plot coordinates in the bottom left corner.
import matplotlib.pyplot as plt
plt.ion()
ax = plt.gca()
However, assume I want to hide (not necessarily remove) the tick labels on the y-axis, e.g. via
ax.set_yticklabels([])
The tick labels are gone, but the mouse cursor plot coordinates are not displayed anymore for the y-axis. Another way to hide the y-axis would be
ax.tick_params(labelleft=False)
This preserves mouse cursor coordinates. How comes the empty tick label list "destroys" the coordinate information as well? I assumed the expected behavior would be that a tick label does not change the underlying plot coordinates, whatever specifies them (imshow's extent, the x-arrays of plt.plot etc.).
