0

I want to change the font size of labels that were in the figure like: enter image description here

krishna veer
  • 474
  • 1
  • 4
  • 16
  • Does this help https://stackoverflow.com/questions/7125009/how-to-change-legend-size-with-matplotlib-pyplot –  Jul 11 '21 at 09:50
  • Does this answer your question? [How to change legend size with matplotlib.pyplot](https://stackoverflow.com/questions/7125009/how-to-change-legend-size-with-matplotlib-pyplot) –  Jul 11 '21 at 09:54
  • @Sujay I'm doing like `plt.plot(lr_fpr1, lr_tpr1, label="AUC= %0.3f (p<0.0001)" % lr_auc1, linewidth=4)` , could you please tell me where can I fit `plt.legend` ? – krishna veer Jul 11 '21 at 12:01

1 Answers1

0

Here you go:

plt.legend(["label1", "label2"], prop={"size":99})
sehan2
  • 1,700
  • 1
  • 10
  • 23