Fixed bug in date detection for the title of the -g plot. The bug was due to time.ctime() padding left with an extra space for single-digit dates, resulting in my .split(" ") adding an empty string element to the list.