Which Matplotlib function sets the plot title?
-
A
plt.title()
Correct answer
-
B
plt.set_title()
-
C
plt.heading()
-
D
plt.name()
Correct answer
A. plt.title()
16 views
Explanation
plt.title() sets the title of the current axes with specified text and formatting options.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ