title: How to change colour of inner box in seaborn violinplot?
body: <p>I am looking to change the colour of the <strong>inner box</strong> plot generated by <code>sns.violinplot()</code> to black, see picture below. I've tried using patch but can only find how to do the outer edge of the violin plot and not the inner box. <a href="https://i.stack.imgur.com/A0Lxk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A0Lxk.png" alt="porosity violin plot" /></a></p>
  <p>Relevant code:</p>
  <pre><code>def poros_voilin(data):
  
      fig, ax = plt.subplots()
      sns.set_style(rc={'patch'})
      ax.axhline(0.84, xmin=0.26, xmax=0.94, color='k')
      ax.annotate(xy=(0.795, 0.63), xycoords='axes fraction', xytext=(0.795, 0.63), textcoords='axes fraction',
                  s='SGL 25 BA')
      ax.axhline(0.78, xmin=0.36, xmax=0.985, color='k')
      ax.annotate(xy=(0.69, 0.535), xycoords='axes fraction', xytext=(0.69, 0.535), textcoords='axes fraction',
                  s='Toaray 060, 090, 120')
      ax.axhline(0.63, xmin=0.485, xmax=0.755, color='k')
      ax.annotate(xy=(0.54, 0.29), xycoords='axes fraction', xytext=(0.54, 0.29), textcoords='axes fraction',
                  s='ELAT LT 1400W')
      vplot = sns.violinplot(y=data['poros'].astype(float), ax=ax)
  
      plt.show()
  
  if __name__ == '__main__':
      data = load_data() 
      poros_violin(data)
  </code></pre>