text size legend to bottom matplotlib

plot.legend(loc=2, prop={'size': 6})

Here is what the above code is Doing:
1. We’re creating a figure with a size of 8×6 inches.
2. We’re creating an axes object for that figure.
3. We’re plotting some data on that axes.
4. We’re adding a title and labels to the axes.
5. We’re adding a legend.