pandas position legend code example Example: pandas legend placement plt.legend(loc='upper left', prop = {"size":30})