Corrected issue where plot wasn't printing.