OS (e.g. Win10): Mac OSX 10.13
PsychoPy version (e.g. 1.84.x): 3.0.6
Standard Standalone? (y/n) y
What are you trying to achieve?: I’d like to use PsychoPy to administer a survey where the number of options changes on different “pages” (i.e., iterations of a loop). When I do this using slider objects to collect responses, the marker positions allowed do change, but the lines/circles indicating these positions do not.
What did you try to make it work?:
I added a bit of code that runs at the start of the routine:
# nResps = number of responses on this iteration # allSliders = a list of all the slider objects on screen for j,slider in enumerate(allSliders): slider.ticks = np.arange(nResps)+1 slider.tickLines.xys = slider.tickLocs
What specifically went wrong when you tried that?:
The marker positions allowed do change, but the lines/circles indicating these positions do not.