title: Scale figure's font with seaborn while preserving matplotlib's style
body: <p>I have some predefined <code>matplotlibrc</code> style which I use for my plots. Below is a sample image styled with it</p>
  
  <p><a href="https://i.stack.imgur.com/xqgEb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xqgEb.png" alt="enter image description here"></a></p>
  
  <p>On the other hand, I find seaborn's <code>sns.set(font_scale=1.25)</code> quite handy, which allows me to quickly control font sizes.<br>
  Yet, while changing the font size it also applies the <strong>default seaborn style</strong> to my plot, so matplotlib's defaults are overwritten.<br>
  I tried <code>sns.set(style=None, font_scale=1.25)</code> instead but line colors and font family of axis labels are still changed. </p>
  
  <p><a href="https://i.stack.imgur.com/mc3PC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mc3PC.png" alt="enter image description here"></a></p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  import seaborn as sns
  
  #sns.set(style=None, font_scale=1.25)
  
  fig = plt.figure(figsize=(3.4, 2.1), frameon=False)
  fig.tight_layout()
  
  x = np.linspace(0, 2, 500)
  
  ax = fig.add_subplot(111)
  ax.set_xlabel('xlabel, some units')
  ax.set_ylabel('ylabel, some units')
  
  ax.plot(x, x**0.5, label='$x^{0.5}$')
  ax.plot(x, x**1.5, label='$x^{1.5}$')
  ax.legend()
  
  fig.savefig('output.png')
  plt.close(fig)
  </code></pre>