psychopy.org | Reference | Downloads | Github

RatingScale lineWidth option

#1

Hi all,

I was checking the api for the RatingScale but I could not find a way to customize the width of the rating line. Am I missing something? (lineWidth option from ShapeStim did not work.)
Any suggestion will be helpful!
Thanks a lot and have a great day! :slight_smile:

Best,
Natalia

#2

Hi,

It’s a bit late, but if someone else needs a response:
You can access the line attribute of the RatingScale component.

scale = RatingScale(*args, **kwargs)
scale.line.setLineWidth(0.5)