How To Plot Using For Loop Python