Answers for "pyhton how to chnge colour of graphs"

0

pyhton how to chnge colour of graphs

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()
Posted by: Guest on September-02-2020

Python Answers by Framework

Browse Popular Code Answers by Language