title: Save matplotlib file to a directory
body: <p>Here is the simple code which generates and saves a plot image in the same directory as of the  code. Now, is there a way through which I can save it in directory of choice? </p>
  
  <pre><code>import matplotlib
  import matplotlib.pyplot as plt
  
  fig = plt.figure()
  ax = fig.add_subplot(111)
  ax.plot(range(100))
  
  fig.savefig('graph.png')
  </code></pre>