How to import matplotlib in python

import matplotlib.pyplot as plt

That’s it!