title: Pandas boxplot side by side for different DataFrame
body: <p>Even though there are nice examples online about plotting side by side boxplots. With the way my data is set in two different pandas DataFrames and allready having sum subplots I have not been able to manage getting my boxplots next to each other in stead of overlapping. </p>
  
  <p>my code is as follows:</p>
  
  <pre><code>import matplotlib as mpl
  import matplotlib.pyplot as plt
  import pandas as pd
  import numpy as np
  mpl.use('agg')
  
  fig, axarr = plt.subplots(3,sharex=True,sharey=True,figsize=(9,6))
  month = ['jan','feb','mar','apr','may','jun','jul','aug','sep','oct','nov','dec']
  percentiles = [90,95,98]
  nr = 0
  for p in percentiles:  
      future_data = pd.DataFrame(np.random.randint(0,30,size=(30,12)),columns = month)
      present_data = pd.DataFrame(np.random.randint(0,30,size=(30,12)),columns = month)
  
      Future = future_data.as_matrix()
      Present = present_data.as_matrix()      
  
      pp = axarr[nr].boxplot(Present,patch_artist=True, showfliers=False)   
      fp = axarr[nr].boxplot(Future, patch_artist=True, showfliers=False)
  
      nr += 1           
  </code></pre>
  
  <p>The results looks as follows:
  <a href="https://i.stack.imgur.com/SNb4e.jpg" rel="nofollow noreferrer">Overlapping Boxplots</a> </p>
  
  <p>Could you help me out in how to makes sure the boxes are next to each other so I can compare them without being bothered by the overlap?</p>
  
  <p>Thank you!</p>
  
  <p>EDIT: I have reduced the code somewhat so it can run like this. </p>