title: Labeling boxplot with median values
body: <p>In addition to the solution posted in <a href="https://stackoverflow.com/questions/38649501/labeling-boxplot-in-seaborn-with-median-value?answertab=votes">this link</a> I would also like if I can also add the Hue Parameter, and add the Median Values in each of the plots.</p>
  
  <p>The Current Code:</p>
  
  <pre><code>testPlot = sns.boxplot(x='Pclass', y='Age', hue='Sex', data=trainData)
  m1 = trainData.groupby(['Pclass', 'Sex'])['Age'].median().values
  mL1 = [str(np.round(s, 2)) for s in m1]
  p1 = range(len(m1))
  
  for tick, label in zip(p1, testPlot.get_xticklabels()):
      print(testPlot.text(p1[tick], m1[tick] + 1, mL1[tick]))
  </code></pre>
  
  <p>Gives a Output Like: <a href="https://i.stack.imgur.com/rQU5Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rQU5Z.png" alt="enter image description here"></a></p>
  
  <p>I'm working on the Titanic Dataset which can be found in <a href="https://www.kaggle.com/c/titanic" rel="nofollow noreferrer">this link</a>.</p>
  
  <p>I'm getting the required values, but only when I do a print statement, how do I include it in my Plot? </p>