What is the default color for Matplotlib plots?
2023
What is the default color for Matplotlib plots?
- A.
Blue
- B.
Green
- C.
Black
- D.
Red
Attempted by 1781 students.
Show answer & explanation
Correct answer: A
Answer: Blue (नीला) — Matplotlib uses blue as the default color for line plots and it is the first color in the default color cycle. Default color details: the specific color is referred to as 'tab:blue' and its hex code is #1f77b4.