title: Fine control over the font size in Seaborn plots
body: <p>I'm currently trying to use Seaborn to create plots for my academic papers. The plots look great and easy to generate, but one problem that I'm having some trouble with is having the fine control on the font size in the plots. </p>
  
  <p>My font size in my paper is 9pt and I would like to make sure the font size in my plots are either 9pt or 10pt. But in seaborn, the font size is mainly controlled through font scale <code>sns.set_context("paper", font_scale=0.9)</code>. So it's hard for me to find the right font size except through trial and error. Is there a more efficient way to do this?</p>
  
  <p>I also want to make sure the font size is consistent between different seaborn plots. But not all my seaborn plots have the same dimension, so it seems like using the <em>same font_scale</em> on all the plots does not necessarily create the same font size across these different plots?</p>
  
  <p>I've attached my code below. I appreciate any comments on how to format the plot for a two column academic paper. My goal is to be able to control the size of the figure without distorting the font size or the plot. I use Latex to write my paper. </p>
  
  <pre><code># Seaborn setting                                                                                                                                              
  sns.set(style='whitegrid', rc={"grid.linewidth": 0.1})
  sns.set_context("paper", font_scale=0.9)                                                  
  plt.figure(figsize=(3.1, 3)) # Two column paper. Each column is about 3.15 inch wide.                                                                                                                                                                                                                                 
  color = sns.color_palette("Set2", 6)
  
  # Create a box plot for my data                                                      
  splot = sns.boxplot(data=df, palette=color, whis=np.inf,                              
          width=0.5, linewidth = 0.7)
  
  # Labels and clean up on the plot                                                                                                                                                                                                                                                                                              
  splot.set_ylabel('Normalized WS')                                                     
  plt.xticks(rotation=90)                                                               
  plt.tight_layout()                                                                    
  splot.yaxis.grid(True, clip_on=False)                                                 
  sns.despine(left=True, bottom=True)                                                   
  plt.savefig('test.pdf', bbox_inches='tight')                                          
  </code></pre>