original_docstring: Attach a text label above each bar in *rects*, displaying its height.
docstring: Attach a text label above each bar in *rects*, displaying its height.
docstring_tokens: Attach a text label above each bar in * rects * displaying its height .
code: def autolabel(rects):
      """Attach a text label above each bar in *rects*, displaying its height."""
      for rect in rects:
          height = rect.get_height()
          ax.annotate('{}'.format(height),
                      xy=(rect.get_x() + rect.get_width()/2, height),
                      xytext=(0, 3),  # 3 points vertical offset
                      textcoords="offset points",
                      ha='center', va='bottom',
                      rotation=t_rot)
code_tokens: def autolabel ( rects ) : for rect in rects : height = rect . get_height ( ) ax . annotate ( '{}' . format ( height ) , xy = ( rect . get_x ( ) + rect . get_width ( ) / 2 , height ) , xytext = ( 0 , 3 ) , textcoords = "offset points" , ha = 'center' , va = 'bottom' , rotation = t_rot )
short_docstring: Attach a text label above each bar in *rects*, displaying its height.
short_docstring_tokens: Attach a text label above each bar in * rects * displaying its height .
comment: """Attach a text label above each bar in *rects*, displaying its height."""$SEP$# 3 points vertical offset