Check out example codes for "change plot line color in matplotlib". It will help you in understanding the concepts better.

Code Example 1

plot(x, y, color='green', linestyle='dashed', marker='o',
     markerfacecolor='blue', markersize=12).

Learn ReactJs, React Native from akashmittal.com