test png/pdf figure formatting