parameters: (label_id, point, ax, color_val)
docstring: draw label id
docstring_summary: draw label id
docstring_tokens: draw label id
function: def _draw_label(label_id, point, ax, color_val):
          """draw label id"""
          labelxys = []
          labelxys.append((40, -40))
          labelxys.append((-40, -40))
          labelxys.append((40, 40))
          labelxys.append((-40, 40))
          has = ['right', 'left', 'right', 'left']
          vas = ['bottom', 'bottom', 'top', 'top']
  
          idx = random.randint(0, 3)
          lxy = labelxys[idx]
          plt.annotate(
              label_id,
              xy=(point[0], point[1]), xytext=lxy,
              textcoords='offset points', ha=has[idx], va=vas[idx],
              bbox=dict(boxstyle='round,pad=0.5', fc=color_val, alpha=0.5),
              arrowprops=dict(arrowstyle='-|>', connectionstyle='arc3,rad=-0.2',
                              fc=color_val, ec=color_val, alpha=0.5))
function_tokens: def _draw_label ( label_id , point , ax , color_val ) : labelxys = [ ] labelxys . append ( ( 40 , - 40 ) ) labelxys . append ( ( - 40 , - 40 ) ) labelxys . append ( ( 40 , 40 ) ) labelxys . append ( ( - 40 , 40 ) ) has = [ 'right' , 'left' , 'right' , 'left' ] vas = [ 'bottom' , 'bottom' , 'top' , 'top' ] idx = random . randint ( 0 , 3 ) lxy = labelxys [ idx ] plt . annotate ( label_id , xy = ( point [ 0 ] , point [ 1 ] ) , xytext = lxy , textcoords = 'offset points' , ha = has [ idx ] , va = vas [ idx ] , bbox = dict ( boxstyle = 'round,pad=0.5' , fc = color_val , alpha = 0.5 ) , arrowprops = dict ( arrowstyle = '-|>' , connectionstyle = 'arc3,rad=-0.2' , fc = color_val , ec = color_val , alpha = 0.5 ) )