how to remove lines that comes before the matplotlib chart

visit shbcf.ru