How do I put a single legend for 6 subplots?

后端 未结 0 1885
耶瑟儿~
耶瑟儿~ 2020-12-16 18:17

I have 6 subplots and I want to create a single legend on the side for all the plots. How would I do that?

I have this:

fig, ax = plt.subplots(nrows=2,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题