Which of the following is not a valid Matplotlib color string?
Correct answer
C. turquois
14 views
C. turquois
14 views
"turquois" is invalid because it is misspelt — the valid named colour is turquoise. Red, green and blue are standard colour names.
Matplotlib also accepts single-letter codes ('r', 'g', 'b'), hex strings and RGB tuples.
Want more practice? Try the full set of Data Science MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.