Background unresponsive to color changes

Hi,

I am trying to color the background to white instead of the standard grey. I have a few routines, each coloring the screen background white, then grey, then white. The first and second routine function correctly. The third does not.
After the second routine that colors it grey, the win.color cannot restore the screen to white.

Please see code in the python run section. Even if the background is explicitly being set to white in the background, see win.color=(1,1,1); , the background remains grey.

What could be the cause of this strange behaviour?

thank you

------Prepare to start Routine “myroutine”-------

continueRoutine = True
routineTimer.add(1.000000)
# update component parameters for each repeat
win.color=(1,1,1);

:

OS (e.g. Win10): mac sierra
PsychoPy version (e.g. 1.84.x): 2020.2.3
Standard Standalone? (y/n) If not then what?: scratch build

I don’t know why your code is not working, but you can just have a very large white or gray rectangle as “screen” using a polygon component.

tandy

Please consider this ticket closed. I also am unable to locate why the win.color fails in some case but i found a workaround. thanks