title: Modifying Seaborn Violinplot to show means not median
body: <p>Currently displaying some data with Seaborn / Pandas.  I'm looking to overlay the mean of each category (x=ks2) - but can't figure out how to do this with Seaborn.</p>
  
  <p>I can remove the inner="box" - but want to replace that with a marker for the mean of each category.</p>
  
  <p>Ideally, then link each mean calculated...</p>
  
  <p>Any pointers greatly received.
  Cheers</p>
  
  <p>Science.csv has 9k+ entries</p>
  
  <pre><code>import seaborn as sns
  import pandas as pd
  import matplotlib.pyplot as plt
  
  sns.set(style="whitegrid", palette="pastel", color_codes=True)
  
  # Load the dataset
  # df = pd.read_csv("science.csv")  &lt;&lt; loaded from csv
  
  df = pd.DataFrame({'ks2': [1, 1, 2,3,3,4], 
                     'science': [40, 50, 34,20,0,44]})
  
  
  # Draw a nested violinplot and split the violins for easier comparison
  sns.violinplot(x="ks2", y="science", data=df, split=True,
                 inner="box",linewidth=2)
  sns.despine(left=True)
  plt.savefig('plot.png')
  
  </code></pre>