Answers for "title in plt"

12

matplotlib title

import matplotlib.pyplot as plt

plt.title('TITLE')
Posted by: Guest on April-17-2020
-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