title: Python seaborn legends cut off
body: <p>The figure resulting from the Python code below unfortunately cuts off part of the legends. How can I avoid this? Did I miss a parameter in the <code>sns</code> call or is this due to how I've set up my PyCharm IDE?</p>
  
  <pre><code>import pandas as pd
  import seaborn as sns
  import matplotlib.pyplot as plt
  
  df = pd.read_csv('gm_2008_region.csv')
  df = df.drop('Region', axis=1)
  plt.figure()
  sns.heatmap(df.corr(), square=True, cmap='RdYlGn')
  plt.show()
  </code></pre>
  
  <p>This is the resulting figure:
  <a href="https://i.stack.imgur.com/J9AK4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J9AK4.png" alt="Figure"></a></p>
  
  <p>The .csv file can be found <a href="https://github.com/apitsch/datasets/blob/master/gm_2008_region.csv" rel="nofollow noreferrer">here</a>.</p>