Legend with Multiple plots
See original GitHub issueHello,
I have two corner plots that I overlay using the fig=fig
keyword. It is only with two parameters and I wanted to add a legend in the empty corner. One plots the contours blue and the other one plots red. Is there a simple way to do this with corner.py?
Thank you, Kara
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Legend for multiple plots - MATLAB Answers - MathWorks
I want to generate a legend for multiple plots on the same figure using 'hold on;'. I am using a certain method I...
Read more >Common legend for multiple plots in R - Stack Overflow
Each graph has the same legend information, so rather than having a legend in each plot I would like to have one horizontal...
Read more >Customizing Plot Legends | Python Data Science Handbook
The plt.plot() command is able to create multiple lines at once, and returns a list of created line instances. Passing any of these...
Read more >How to Create a Single Legend for All Subplots in Matplotlib?
Sometimes it is necessary to create a single legend for all subplots. Below are the examples that show a single legend for all...
Read more >Legend Demo — Matplotlib 3.6.2 documentation
Plotting legends in Matplotlib. There are many ways to create and customize legends in Matplotlib. Below we'll show a few examples for how...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the suggestion, Kyle.
I was able to do it with
This does attach the legend to the last plot in the figure (the bottom right histogram) so I moved it out of the plot and into the empty space.
Alright! Very nice 😃 The only design choices I might suggest would be to center the legend in the blank panel (both horizontally and vertically) and remove the box around it. I guess at least sometimes one would also want to legend the truth point as well.
On Friday, November 13, 2015, Kara Ponder notifications@github.com wrote: