I have a code like this:
import matplotlib.pyplot as plt from matplotlib.pyplot import * from matplotlib.font_manager import FontProperties fontP = FontProp
This is the fastest:
plt.legend(loc=2,prop={'size':6})