FIX: fix plotting to use format strings correctly