title: apply images to pyplot python bar graphs
body: <p>So below is a snippet of my code, and it all works fine. Just curious instead of display bars with specific colors, can an image be applied to the bar, such as a countries flag etc. (please ignore my inconsistent order of param passing)</p>
  
  <p>thanks</p>
  
  <pre><code>l_images=["australia.png","turkey.png"] # this is desired
  l_colors=["pink","blue"]
  
  if (l_bar_dir=="vertical"):                             
   plt.bar(xs2,ys,tick_label=xs,color=l_colors,bottom=bottoms,width=bar_width,align='center') # set plot to be a bar graph
  else:                           
   plt.barh(bottom=xs2,width=ys,tick_label=xs,align='center',color=l_colors) # set plot to be a bar graph
  </code></pre>