Answers for "matlibplot legend"

4

legend size matplotlib

plt.plot([1, 2, 3], label='Inline label')
plt.legend(loc=1, prop={'size': 16})
Posted by: Guest on July-01-2020
0

python no label in legend matplot

ax.plot(randn(1000).cumsum(), 'k.', label='_nolegend_')
Posted by: Guest on May-08-2020

Python Answers by Framework

Browse Popular Code Answers by Language