title: Reduce left and right margins in matplotlib plot
body: <p>I'm struggling to deal with my plot margins in matplotlib. I've used the code below to produce my chart:</p>
  
  <pre><code>plt.imshow(g)
  c = plt.colorbar()
  c.set_label("Number of Slabs")
  plt.savefig("OutputToUse.png")
  </code></pre>
  
  <p>However, I get an output figure with lots of white space on either side of the plot. I've searched google and read the matplotlib documentation, but I can't seem to find how to reduce this.</p>