1

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

3
  • Does this help stackoverflow.com/questions/7125009/… Commented Jul 11, 2021 at 9:50
  • Does this answer your question? How to change legend size with matplotlib.pyplot Commented Jul 11, 2021 at 9: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 ? Commented Jul 11, 2021 at 12:01

1 Answer 1

0

Here you go:

plt.legend(["label1", "label2"], prop={"size":99})
Sign up to request clarification or add additional context in comments.

2 Comments

Isn't that the same thing given in the link in the comments
it is the same thing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.