title: Displaying a matplotlib bar chart in Tkinter
body: <p>I am trying to display a matplotlib bar chart in a Tkinter window. I have found plenty of tutorials on how to put a line chart in, such as this:
  <a href="http://matplotlib.org/examples/user_interfaces/embedding_in_tk.html" rel="nofollow">http://matplotlib.org/examples/user_interfaces/embedding_in_tk.html</a></p>
  
  <p>But I can't find one for putting in a bar chart. The only way I know to make a bar chart is like this: <a href="http://matplotlib.org/examples/api/barchart_demo.html" rel="nofollow">http://matplotlib.org/examples/api/barchart_demo.html</a>. Obviously, the modules imported in the bar chart example are not the same as the ones in the Tkinter examples, and I'm not sure how to make it work, if it can at all.</p>
  
  <p>Long story short, can anyone provide me with an example of a matplotlib bar chart being displayed inside a Tkinter window? Thanks.</p>