matplotlib line changing color code example
Example: change plot line color in matplotlib
plot(x, y, color='green', linestyle='dashed', marker='o',
markerfacecolor='blue', markersize=12).
plot(x, y, color='green', linestyle='dashed', marker='o',
markerfacecolor='blue', markersize=12).