original_docstring: Display a message onscreen and wait for a keypress.
  
      Arguments:
          window -- the Psychopy window to draw to
          message -- the text to display
      
docstring: Display a message onscreen and wait for a keypress.
  Arguments:
  window -- the Psychopy window to draw to
  message -- the text to display
docstring_tokens: Display a message onscreen and wait for a keypress . Arguments : window -- the Psychopy window to draw to message -- the text to display
code: def display_instructions(window, message, size=1):
      """Display a message onscreen and wait for a keypress.
  
      Arguments:
          window -- the Psychopy window to draw to
          message -- the text to display
      """
      instructions = visual.TextStim(window, text=message, color='black', font='Helvetica',
      units = 'deg', height=size, wrapWidth=50)
      instructions.draw(window)
      window.flip()
      event.waitKeys()
code_tokens: def display_instructions ( window , message , size = 1 ) : instructions = visual . TextStim ( window , text = message , color = 'black' , font = 'Helvetica' , units = 'deg' , height = size , wrapWidth = 50 ) instructions . draw ( window ) window . flip ( ) event . waitKeys ( )
short_docstring: Display a message onscreen and wait for a keypress.
short_docstring_tokens: Display a message onscreen and wait for a keypress .
comment: """Display a message onscreen and wait for a keypress.
  
      Arguments:
          window -- the Psychopy window to draw to
          message -- the text to display
      """