def set_cursor_props(self, *args):
if len(args)==<NUM_LIT:1>:<EOL><INDENT>lw, c = args[<NUM_LIT:0>]<EOL><DEDENT>elif len(args)==<NUM_LIT:2>:<EOL><INDENT>lw, c = args<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>c =mcolors.colorConverter.to_rgba(c)<EOL>self._cursorProps = lw, c<EOL>
Set the cursor property as::

  ax.set_cursor_props(linewidth, color)

or::

  ax.set_cursor_props((linewidth, color))

ACCEPTS: a (*float*, *color*) tuple