The layout -> yaxis -> visible docs refer to a “cheater plot” but I do not know what this is. It seems to be referenced elsewhere too, e.g. in the carpet plot (link is to Python API) so I don’t think it’s an error in the documentation.
yaxis
visible (boolean)
A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false