In recent Matlab versions (I am using R2024b), when you hover or click on a line plotted on some axes it produces a data tip, which is a rectangle indicating the numerical values at that point.
I would like to disable data tips on all axes by default. For existing axes, it is enough to call the function disableDefaultInteractivity with those axes as input. But then, this would have to be done for every new axes. Is there a way to cause all axes to have data tips disabled by default?
I thought there would be some default property value in groot for this, but I can't find it. This answer suggests using the axes' CreateFcn property to call disableDefaultInteractivity, but that approach does not seem to work, at least not in all Matlab versions (see comments to that answer; it definitely does not work in R2024b).