how to put legend at specific location pandas code example Example: pandas legend placement plt.legend(loc='upper left', prop = {"size":30})