title: Use locale with seaborn
body: <p>Currently I'm trying to visualize some data I am working on with seaborn. I need to use a comma as decimal separator, so I was thinking about simply changing the locale. I found <a href="https://stackoverflow.com/a/35937196/6608142">this</a> answer to a similar question, which sets the locale and uses matplotlib to plot some data.</p>
  
  <p>This also works for me, but when using seaborn instead of matplotlib directly, it doesn't use the locale anymore. Unfortunately, I can't find any setting to change in seaborn or any other workaround. Is there a way?</p>
  
  <p>Here some exemplary data. Note that I had to use <code>'german'</code> instead of <code>"de_DE"</code>. The xlabels all use the standard point as decimal separator.</p>
  
  <pre><code>import locale
  # Set to German locale to get comma decimal separator
  locale.setlocale(locale.LC_NUMERIC, 'german')
  
  import pandas as pd
  import seaborn as sns
  
  import matplotlib.pyplot as plt
  # Tell matplotlib to use the locale we set above
  plt.rcParams['axes.formatter.use_locale'] = True
  
  df = pd.DataFrame([[1,2,3],[4,5,6]]).T
  df.columns = [0.3,0.7]
  
  sns.boxplot(data=df)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/PJsUY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PJsUY.png" alt="Exemplary boxplot with seaborn"></a></p>