title: Matplotlib multiple scatter subplots - reduce svg file size
body: <p>I generated a plot in Matplotlib which consists of 50 subplots. In each of these subplots I have a scatterplot with about 3000 datapoints. I'm doing this, because I just want to have an overview of the different scatter plots in a document I'm working on.</p>
  
  <p>This also works so far and looks nice, but the problem is obviously that the SVG file that I'm getting is really big (about 15 MB). And Word just can't handle such a big SVG file.</p>
  
  <p>So my question: is there a way to optimize this SVG file? A lot of my datapoints in the scatter plots are overlapping each other, so I guess it should be possible remove many "invisible" ones of them without changing the visible output. (so something like this in illustrator seems to be what I want to do: <a href="https://graphicdesign.stackexchange.com/questions/12968/how-to-keep-only-the-visible-parts-of-the-every-object-path-of-a-svg-image-like">Link</a>) Is it also possible to do something like this in Inkscape? Or even directly in Matplotlib?</p>
  
  <p>I know that I can just produce a PNG file, but I would prefer to have the plot as a vector graphic in my document.</p>