docs: def line(x, y, width=0.1):
      """Draw a line"""
      ctx = _state["ctx"]
      ctx.move_to(0, 0)
      ctx.line_to(x, y)
      ctx.close_path()
      # _ctx.set_source_rgb (0.3, 0.2, 0.5)
      ctx.set_line_width(width)
      ctx.stroke()