can you shrink legend size matplotlib code example
Example: legend size matplotlib
plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})
plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})