I get an error when trying to define the window.backgroundImage property. The image I want to use is a checkerboard I have created, but I assume the nature of the image is not the issue (I tried this with a 2D numpy array describing the checkerboard, and a checkerboard image generated with visual.imageStim). The code snippet and error is pasted below. What am I missing here?
win = visual.Window(
size=winsize, fullscr=True, screen=0,
winType=‘pyglet’, allowStencil=False,
monitor=‘EV2456’, color=[-1,-1,-1], colorSpace=‘rgb’,
units=‘deg’, backgroundImage=checkerboard, backgroundFit=‘None’)
Error message:
in win = visual.Window(
TypeError: init() got an unexpected keyword argument ‘backgroundImage’