matplotlib plot color code example
Example 1: change plot line color in matplotlib
plot(x, y, color='green', linestyle='dashed', marker='o',
markerfacecolor='blue', markersize=12).
Example 2: change graph colors python matplotlib
plt.plot([values], color='color')
Example 3: matplotlib color
Alias Color
'b' blue
'g' green
'r' red
'c' cyan
'm' magenta
'y' yellow
'k' black
'w' white