Python How To Change Legend Size With Matplotlib

[Solved] Python How To Change Legend Size With Matplotlib | Vb - Code Explorer | yomemimo.com
Question : legend size matplotlib

Answered by : sleepy-shark-bmgfv96tyacr

plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})

Source : | Last Update : Wed, 08 Jul 20

Question : legend font size python matplotlib

Answered by : sleepy-skipper-5z0rx3oobwlm

plt.legend(title="My Title", fontsize=10, title_fontsize=15)

Source : https://stackoverflow.com/questions/7125009/how-to-change-legend-size-with-matplotlib-pyplot | Last Update : Mon, 04 Jul 22

Question : legend size matplotlib

Answered by : manuel-colavincenzo

plt.legend(fontsize=20) # using a size in points
plt.legend(fontsize="x-large") # using a named size

Source : https://stackoverflow.com/questions/7125009/how-to-change-legend-size-with-matplotlib-pyplot | Last Update : Wed, 16 Nov 22

Question : legend font size python matplotlib

Answered by : sleepy-skipper-5z0rx3oobwlm

plot.legend(loc=2, prop={'size': 6})

Source : https://stackoverflow.com/questions/7125009/how-to-change-legend-size-with-matplotlib-pyplot | Last Update : Mon, 04 Jul 22

Answers related to python how to change legend size with matplotlib pyplot

Code Explorer Popular Question For Vb