title: Legend location in matplotlib subplot
body: <p>I am trying to create subplots on (6X3) grid. I am having a problem with the location of legend. The legend is common to all subplot. The lgend is now overlapping with the y-axis label </p>
  
  <p>I tried with removing the constrained_layout=True option. But this keeps a lot of white space between legend and subplots.  </p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  #plt.rcParams["font.family"] = "Times New Roman"
  #plt.rcParams.update({'font.size': 12})
  
  font = {'family' : 'Times New Roman',
          'size'   : 14}  
  plt.rc('font', **font)
  
  
  t = np.linspace(0,10, num=200)
  fig, axs = plt.subplots(6, 3, figsize=(12,16))#, constrained_layout=True)
  i = 0 # i = 0 for x = 0.25; i = 3 for x = -0.25
  j = 6 # j = 6 for x = 0.25; j = 9 for x = -0.25
  #%%
  solution = np.loadtxt(open("sequential_legs=01.csv", "rb"), delimiter=",", skiprows=0)
  axs[0, 0].plot(t, solution[:,i],'r-')
  axs[0, 0].plot(t, solution[:,i+1],'g-')
  axs[0, 0].plot(t, solution[:,i+2],'b-')
  axs[0, 0].plot(t, solution[:,j],'r--')
  axs[0, 0].plot(t, solution[:,j+1],'g--')
  axs[0, 0].plot(t, solution[:,j+2],'b--')
  axs[0, 0].set_title('DNN-S (p = 1)', fontsize=14)
  axs[0, 0].set_xlim([0, 10])
  (repeated for each grid)
  line_labels = ["$y_1$ (True)","$y_2$ (True)", "$y_3$ (True)", "$y_1$ (ML-Pred)","$y_2$ (ML-Pred)", "$y_3$ (ML-Pred)"]
  plt.figlegend( line_labels, loc = 'lower center', borderaxespad=0.1, ncol=6, labelspacing=0.,  prop={'size': 13} ) #bbox_to_anchor=(0.5, 0.0), borderaxespad=0.1, 
  
  for ax in axs.flat:
      ax.set(xlabel='Time', ylabel='Response')
  
  for ax in axs.flat:
      ax.label_outer()
  
  fig.savefig('LSE_X=025.pdf', bbox_inches = 'tight')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mGgbp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mGgbp.png" alt="enter image description here"></a></p>