Python Matplotlib Is Printing The Line Plot Twice Multiple Times

Python Matplotlib Is Printing The Line Plot Twice Multiple Times