title: python how do I fix the label which is showing up multiple times in my subplot
body: <p>I have created a subplot and ploting a df in each, with labels. For some reason labels are showing up twice in each of the subplots. Any reason why this is happening?</p>
  <pre><code>labellist = ['A11','B11','C11','D11']
  for i in range(4):
      plt.subplot(2,2,i+1)
      df = pd.DataFrame(np.random.randint(1,10,(50,2)),columns=['A','B'])
      plt.plot(df,label= labellist[i])
      plt.legend()
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/NLfsB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NLfsB.png" alt="enter image description here" /></a></p>