Answers for "plt title plot"

-1

plt title

import matplotlib.pyplot as plt 
 
plt.plot(x, y, color='green') 
plt.xlabel('x') 
plt.ylabel('y') 
  
# displaying the title
plt.title("Linear graph")
  
plt.show() 
Posted by: Guest on July-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language