Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
matplotlib one legend for all subplots
Brenda Yelting
Programming language:
Whatever
2021-08-04 04:52:21
0
Q:
matplotlib one legend for all subplots
ckuenzle
Code:
Whatever
2021-07-01 00:16:59
handles, labels = ax.get_legend_handles_labels() fig.legend(handles, labels, loc='upper center')
1
Tags
sub
Related
matplotlib legend
legend matplotlib
matplotlib show plot
how to apply subplot to seaborn plot
matplotlib add legend axis x
matplotlib subplots
how to add subtitle matplotlib
New to Communities?
Join the community