AMEC-1853. don't show header if there is no figure