PEP8 fixes on the figure module
FIX added \n in an error message