0

I have a few subplots for which one has less curves (see figure). I want the legend of the second plot to be at the same height as the others. Switching the order of the two handles is not a valid option.

Thanks guys! enter image description here

ImportanceOfBeingErnest
  • 321,279
  • 53
  • 665
  • 712
Shiran
  • 21
  • 4
  • Welcome to [so]! At this site you are expected to try to **write the code yourself**. After **[doing more research](//meta.stackoverflow.com/questions/261592)** if you have a problem you can **post what you've tried** with a **clear explanation of what isn't working** and providing a [**Minimal, Complete, and Verifiable example**](//stackoverflow.com/help/mcve). I suggest reading [ask] a good question and [the perfect question](http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/). Also, be sure to take the [tour] and read **[this](//meta.stackoverflow.com/questions/347937/)**. – Badacadabra May 07 '17 at 17:45

1 Answers1

1

After a lot of trials, I added a dummy curve:

axarr[1].plot([], [], label=" ", c="w")

enter image description here

ImportanceOfBeingErnest
  • 321,279
  • 53
  • 665
  • 712
Shiran
  • 21
  • 4