use agg as default plotting to speed up