Which of the following is not a valid Matplotlib colormap?
Correct answer
C. hotpink
18 views
C. hotpink
18 views
"hotpink" is not a colormap — it is a named colour. viridis (the default), rainbow and inferno are genuine colormaps.
A colour is a single shade; a colormap is a continuous range of colours used to represent values.
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.