PEP8 fixes for cartography module

Simple PEP8 fixes for the cartography module. Mostly whitespace, line lengths and unnecessary line continuations.