title: How to reduce box size of seaborn box plot and make figure adapt to the new box sizes?
body: <p>I created the figure below with the code shown below the image. I'd like the boxes to be thinner in the horizontal direction and the entire figure to adapt to the new box sizes. How can I do that?</p>
  
  <p>I know that I can change the the width of the boxes with <code>sns.boxplot(data=df,width=someScalingFactor)</code>, but this creates a space between the boxes in horizontal direction and this is not what I want.</p>
  
  <p><a href="https://i.stack.imgur.com/4DUEQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4DUEQ.png" alt="enter image description here"></a>   </p>
  
  <pre class="lang-py prettyprint-override"><code>def plotBoxPlotDataMAE(self,data,figName):        
      df = pd.DataFrame(data).T
      df = df.rename(columns={0:'Joint 1',1:'Joint 2',2:'Joint 3',3:'Average'})
      f = plt.figure(figName,figsize=[5.3,6])
      ax = f.add_subplot(111)
      obj = sns.boxplot(data=df)
      obj.set_ylabel(ylabel='Mean Absolute Angle Error [°]',fontsize=13)
      plt.tick_params(axis='y',which='both',labelleft='on',labelright='on')
      ax.yaxis.set_ticks_position('both')
  </code></pre>
  
  <p>Ultimately I want the figure to be thinner because the boxes being large doesn't add information to the plot and I don't have much space in the document where I'd like to use them.</p>