Matplotlib: put the legend outside the plot

less than 1 minute read

http://stackoverflow.com/questions/4700614/how-to-put-the-legend-out-of-the-plot