title: Python Jupyter Notebook: Put two histogram subplots side by side in one figure
body: <p>I am using Python (3.4) Jupyter Notebook. I have the following two histograms in two separated cells, each has their own figure:</p>
  
  <pre><code>bins = np.linspace(0, 1, 40)
  plt.hist(list1, bins, alpha = 0.5, color = 'r')
  </code></pre>
  
  <p>and</p>
  
  <pre><code>bins = np.linspace(0, 1, 40)
  plt.hist(list2, bins, alpha = 0.5, color = 'g')
  </code></pre>
  
  <p>Is it possible to put the above two histograms as two subplots side by side in one figure?</p>