title: How to set a legend which is prodcted in lineplot as the rowlabe of table
body: <p>I have a series, and use <code>ax.plot</code> creat a line plot.Then I use <code>ax.table</code> add a table below the line plot. </p>
  
  <pre><code>import pandas as pd
  import numpy as np
  import matplotlib.pyplot as plt
  data = [4.6, 4.8, 4.7, 5.2, 5.3, 5.4, 5.5]
  index = ['3m','6m', '1year', '2year', '3year', '5year', '10year']
  s = pd.Series(data,index=index)
  fig = plt.figure()
  ax = fig.add_subplot(111)
  x = np.arange(1, 8)
  pic = ax.plot(x, s)
  plt.xticks([])
  leg = plt.legend('rate')
  row_lables = ['xxx']
  table = ax.table(cellText=[data], colLabels=index, rowLoc='center',colLoc='center',cellLoc='center', rowLabels = row_lables)
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/soV4V.png" rel="nofollow noreferrer">raw_plot</a></p>
  
  <p>I would like to set the legend as the rowlabe of table (the legend replaces the string 'legend'). How can i create this picture.
  <img src="https://i.stack.imgur.com/Y1K3h.png" alt="result_plot"></p>