of the svg header as 1. below. If I adjust the header
> as in 2. with a viewBox setting I get an image that
> will scall to the browser window, and is centered. Is
> there a way to do this from with in Matplotlib?
Should be pretty easy. Take a look at
matplotlib/backends/backend_svg.py and submit a patch.