add 'ext' option to MatplotlibPlotter

this option sets the extension (and therefore the format) of saved
pictures. If not set, the default is 'png'.