Menu ▾ ▴

#2898 scaleListener results in noisy tests

nextrelease
open
nobody
None
5
2026-09-21
2026-09-21
No

One of the oldest problems with Autoplot's testing is occasional misfires, where the output yaxis range is slightly different than the normal result. I tracked this down to "scaleListener" in axis controller, which listens to the row and column and axis range changes to update the scale property.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2026-09-21

    This is doing something like: set range -> set scale -> set range, and then in the meantime something else is being resized.

     
  • Jeremy Faden

    Jeremy Faden - 2026-09-21

    For this test it looks like I had the two test results marked as okay were both fails. I've made it so that the primary one is the one which matches what you get when running interactively.