Fixed plotting bug occurring when title is None