Answers for "how to add a title to legend in matplotlib"

3

python add legend title

# Basic syntax:
plt.legend(title="your title")
Posted by: Guest on May-08-2021

Code answers related to "how to add a title to legend in matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language