title: How to put text outside python plots?
body: <p>I am plotting two time series and computing varies indices for them.</p>
  
  <p>How to write these indices for these plots outside the plot using <code>annotation</code> or <code>text</code> in python?</p>
  
  <p>Below is my code</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  obs_graph=plt.plot(obs_df['cms'], '-r', label='Observed')
  plt.legend(loc='best')
  plt.hold(True)
  sim_graph=plt.plot(sim_df['cms'], '-g', label="Simulated")
  plt.legend(loc='best')
  plt.ylabel('Daily Discharge (m^3/s)')
  plt.xlabel('Year')
  plt.title('Observed vs Simulated Daily Discharge')
  textstr = 'NSE=%.2f\nRMSE=%.2f\n'%(NSE, RMSE)
  # print textstr
  plt.text(2000, 2000, textstr, fontsize=14)
  plt.grid(True)
  plt.show()
  </code></pre>
  
  <p>I want to print <code>teststr</code> outside the plots. Here is the current plot:</p>
  
  <p><img src="https://i.stack.imgur.com/3U10R.png" alt="plot"></p>