modify plot to turn off interactive
Merge github.com:nimezhu/bam2x