python matplotlib legend scale code example
Example 1: legend size matplotlib
plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})
Example 2: legend matplotlib
import matplotlib.pyplot as plt
#define x and ysin
plt.plot(x,ysin,label='sin(x)')
plt.legend()
plt.show()