Skip to content
Snippets Groups Projects
Commit 33da9065 authored by Jäkel, Frank's avatar Jäkel, Frank
Browse files

Specified height of font since some users got an error message on windows machines

parent 68637976
Branches
No related tags found
No related merge requests found
......@@ -90,7 +90,8 @@ def setup(intensity,task):
win = visual.Window(fullscr=True,
units='pix', color=[0.5,0.5,0.5])
win.setMouseVisible(False)
message = visual.TextStim(win, pos=[0,100],text=text)
# on some windows machines it seems necessary to specify the height
message = visual.TextStim(win, pos=[0,100],text=text,height=16)
message.draw()
stim = visual.ImageStim(win, image=stimulus(0),
pos=(-15,0), size=(25,25))
......@@ -381,5 +382,3 @@ def interactive_sdt():
lam=widgets.FloatSlider(min=-3, max=7, step=0.1, value=1))
def update(d_prime, lam):
plot_sdt(d_prime, lam)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment