Hi all, I inherited a code for a task from someone who is no longer in my lab. The value of a variable
y1 is determined by button responses. That value then determines dimensions of a rectangle on the screen:
Scale = visual.Rect(win=win, width=(y1, 0.11), height=(y1, 0.18), ori=0.0, pos=(0.6, 0), lineWidth=1.0, colorSpace='rgb', lineColor='darkGrey', fillColor='green', opacity=0.5, depth=-6.0, interpolate=True)
I can’t figure out what the second values following y1 represent in the width and height arguments. I’d tried modifying them and seeing what I can notice in the script and the data, but I can’t find any differences. Documentation online for both width and height in the visual.Rect entry isn’t helpful either. Are these perhaps leftovers that Python is ignoring?