use png for figure