human
How to set font size of Matplotlib axis Legend?
assistant
Here is some code to set font size of axis legend of plot `plt` to 'xx-small'

plt.setp(legend.get_title(), fontsize='xx-small')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.