Update stat1.py

Fixed problem of multiple graph occurence in a single window
add clearing future to show one graph at a time