Which of the following statements about Matplotlib legends is true?
Correct answer
C. Legends can be customized using the plt.legend() function
17 views
C. Legends can be customized using the plt.legend() function
17 views
Legends can be customised with plt.legend() — its location, font size, title, number of columns and frame can all be set.
A legend is not added automatically; you must call legend() and give your plotted series labels.
Keep preparing with more Data Science MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.