Hi everyone. We recently upgraded to ARTIQ 7 and found that applets were no longer scaling units automatically. This means if I have an experiment that scans time on the x-axis from 0 to 1 ms, the tick labels will go out to 1, but the unit of the plot will read just "s", which means using plots for manual calibration can get confusing. In other words, the numerical scaling works fine, but the unit scaling is broken.
After trying a bunch of workarounds, the only thing we could find to fix this behavior was downgrading the PyQtGraph package from 0.12.3 to 0.11.0 (the latter was used in ARTIQ 6). In fact, it starts breaking in 0.11.1.
It doesn't strictly seem to be a PyQtGraph problem, because if I generate a plot in my ARTIQ Conda environment, it scales fine. It seems something changed in PyQtGraph between 0.11.0 and 0.11.1 such that the way ARTIQ interfaces with it no longer works.
With all of this said, has anyone found any way to get PyQtGraph 0.12.3 to work with unit scaling (other than hard coding units)?