Better way to include title and source in grid and pep8 pylint fix