How to bold title in Matplotlib

You can bold the title in Matplotlib with the following code. If you want to learn Python then I will highly recommend you to read This Book.

How to bold title in Matplotlib
How to bold title in Matplotlib

Bold the title in Matplotlib

from matplotlib import pyplot as plt

a = [1,2,3,4,5]
b = [7,14,21,28,35]

plt.title("Integers and Multiple",fontweight='bold')

plt.xlabel("Integers")
plt.ylabel("Multiple")
plt.plot(a,b)
plt.show()

People are also reading:

Best Python Books

What is Computer Vision? Examples, Applications, Techniques

Top 10 Computer Vision Books with Python

Books for Machine Learning (ML)

Free Learning Resources

Leave a Comment

Your email address will not be published.