CBSE Class 12 Informatics Practices Question 57 of 147

Plotting with Pyplot — Question 22

Back to all questions
22
Question

Question 22

Which function lets you set the title of the plot ?

  1. title()
  2. plottitle()
  3. graphtitle()
  4. all of these
Answer

title()

Reason — The title() function sets the title of the plot in Matplotlib.