Margins when exporting to PNG

When I try to save the result to PNG, there are always white margins around the edges. How to remove them? I tried to do margin: 0, padding: 0 — it doesn’t help.

I’m afraid that’s not configurable; it’s a trade-off we had to make because quite often you have some content that goes into the margin (like the ticks on the x axis).