def savefig(g, name, folder='Figures/', format='eps'):
    g.savefig(folder+name+'.'+format, format=format)
@@ -99,9 +99,62 @@
 t=format
+, bbox_inches='tight', transparent=True, pad_inches=0
 )

save fig options