#first pip install matplot lib in terminal if it shows error matlot plot lib not found import matplotlib.pyplot as pt