Question : pyhton how to chnge colour of graphs
Answered by : energetic-echidna-fkstd75r32jc
import matplotlib.pyplot as plt
plt.plot([1,2,3], [2,3,1], "r-") # red line
plt.plot([1,2,3], [5,5,3], color="blue") # blue line
plt.show()
Source : https://stackoverflow.com/questions/41709257/how-to-change-the-plot-line-color-from-blue-to-black | Last Update : Wed, 09 Sep 20