Update SAMFilter.py

Fixed $DISPlAY error with matplotlib by modifing backend.