Fix flake8 output for Thumbnail_Figure.py script