Hello,
It seems that the Slider is still bugged when it comes to setting the Position-parameter. As soon as you set the Position-parameter to “set every repeat” from constant, the position will be set to [0,0], no matter what you want it to be. You can check this by looking at the compiled Python script.
set every repeat
slider = visual.Slider(win=win, name='slider',
startValue=None, size=(1, .1), pos=[0,0], units=None,
labels=[1,2,3,4,5], ticks=(1, 2, 3, 4, 5), granularity=1.0,
style='rating', styleTweaks=(), opacity=None,
labelColor='LightGray', markerColor='Red', lineColor='White', colorSpace='rgb',
font='Open Sans', labelHeight=0.05,
flip=False, ori=0.0, depth=-1, readOnly=False)
should be
slider = visual.Slider(win=win, name='slider',
startValue=None, size=(1, .1), pos=(0, -.2), units=None,
labels=[1,2,3,4,5], ticks=(1, 2, 3, 4, 5), granularity=1.0,
style='rating', styleTweaks=(), opacity=None,
labelColor='LightGray', markerColor='Red', lineColor='White', colorSpace='rgb',
font='Open Sans', labelHeight=0.05,
flip=False, ori=0.0, depth=-1, readOnly=False)
see here for an earlier mentioning of the problem
or see here
but according to this is issue is closed. So, it should work.
I’ve been using 2022.2.5, perhaps 2023.1.2 does a better job.
Best wishes Jens