added rcParam for x and y margin

Addresses issue #1766

I get 3 test failures on my machine related to `matplotlib.tests.test_text.test_font_styles.test`,  but I also get the same failure on current master, so I at least don't make it worse.