Answers for "matplotlib how to move legend outside graph"

3

matplotlib legend out of plot

ax.legend(loc='upper center', bbox_to_anchor=(0.5, 1.05),
          ncol=3, fancybox=True, shadow=True)
Posted by: Guest on July-07-2020

Code answers related to "matplotlib how to move legend outside graph"

Python Answers by Framework

Browse Popular Code Answers by Language