microsoft / Qcodes

Modular data acquisition framework

Home Page:http://microsoft.github.io/Qcodes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regression in plotting of 1d datasets using plot dataset

jenshnielsen opened this issue · comments

Consider the example here https://qcodes.github.io/Qcodes/examples/Parameters/Simple-Example-of-ParameterWithSetpoints.html#Measurement before qcodes 0.25 this used to be plotted as a line plot but in 0.26.0 onwards this is now plotted as a scatter plot.

Some debugging indicate that this is because the setpoints and probably also data has gained an extra singleton dimension this means that np.all_close in datatype_from_setpoints_1d will always return True since [[1,2,3,...]] and [1,2,3,...] are always identical due to broadcasting.

This looks like a bug in #3024

Bisect gives us

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
4e85af2
dbca907
663ed26
7f92e33
26f687f
We cannot bisect more!