title: Formatting a plot in Seaborn
body: <p>I made a PMF plot using seaborn:</p>
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  import seaborn as sns
  import matplotlib.patches as mpatches
  
  n= 1000 #number of trials
  p= 0.5 #probability
  
  trial_2 = np.random.binomial(n,p,1000)
  
  sns.displot(trial_2, stat = 'probability') 
  trial_2_mean= np.mean(trial_2)
  plt.axvline(trial_2_mean,color='red') 
  plt.xlabel(&quot;Number of Successes&quot;)
  red_patch = mpatches.Patch(color='red', label='Mean')
  plt.legend(handles=[red_patch])
  </code></pre>
  <p>I want to add text to the plot like below (the n=60 and p=0.1):
  <a href="https://i.stack.imgur.com/9neEH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9neEH.png" alt="(&quot;C:\Users\Workstation\OneDrive\Pictures\pmf plot.png&quot;)" /></a></p>
  <p>Also how do I plot in a format similar to the one in the picture (straight lines)</p>