title: using matplotlib giving me the following warning: "UserWarning: tight_layout:
body: <p>Try to do a graph using python matplotlib: but keep getting the following waring message: </p>
  
  <pre><code>"UserWaring: tight_layout: falling back to Agg renderer  warnings.warn("tight_layout: falling back to Agg renderer")
  </code></pre>
  
  <p>My code is below:</p>
  
  <pre><code>plt.legend(loc='upper left',prop = {'size':7},bbox_to_anchor=(1,1))
  plt.tight_layout(pad=7)
  plt.xlabel ('Build')
  plt.ylabel ('Time/Sec')
  plt.title ('Performance Test')
  plt.grid()
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/C1QdA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/C1QdA.png" alt="graph from the code"></a>
  How to fix that warning message? </p>