You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour of XyData is not what one would expect when specifying multiple (or even a single) array(s). It is also not in line with the documentation:
Ah, it seems I misunderstood the behaviour of set_y, since it's not the same as set_x. You need to set all y arrays in one execution of set_y, and cannot set them one by one.
I suppose we can just make this a documentation issue then, because it was not intuitive to me.
Describe the bug
The behaviour of
XyData
is not what one would expect when specifying multiple (or even a single) array(s). It is also not in line with the documentation:https://aiida.readthedocs.io/projects/aiida-core/en/stable/topics/data_types.html#xydata
Steps to reproduce
Gives output:
Expected behavior
set_x
andset_y
commands.XyData
. Here it seems it is overridden (without warning).Your environment
EDIT: Also tested on latest
origin/main
.The text was updated successfully, but these errors were encountered: