title: seaborn: legend with background color
body: <p>The following question explains how to change the background color of a legend:
  <a href="https://stackoverflow.com/questions/19863368/matplotlib-legend-background-color">matplotlib legend background color</a>. However, if I use seaborn this does not work. Is there a way to do this?</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  a = np.random.rand(10,1)
  
  plt.plot(a, label='label')
  legend = plt.legend()
  frame = legend.get_frame()
  frame.set_facecolor('green')
  plt.show()
  
  
  import seaborn as sns
  
  plt.plot(a, label='label')
  legend = plt.legend()
  frame = legend.get_frame()
  frame.set_facecolor('green')
  plt.show()
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/MS39Bm.png" alt="with matplotlib"> <img src="https://i.stack.imgur.com/u0wVZm.png" alt="with seaborn"></p>