save matplotlib file to a directory,fig.savefig('Sub Directory/graph.png')