added demonstration of separate horizontal/vertical axes padding
implemented separate horizontal/vertical axes padding
improved coding style, removed unused imports
Reverted import removal, reformatted an if-else
Removed lines that were commented out previously
Described changes done in pull request #2731
PEP8 indentation fixes
Merge pull request #2731 from matejak/2d-padding

2d padding