plot-unfold.py: Autoscale tight (to avoid wasting space)
authorW. Trevor King <wking@tremily.us>
Sun, 12 May 2013 20:36:54 +0000 (16:36 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 12 May 2013 20:36:54 +0000 (16:36 -0400)
plot-unfold.py

index d54d8236e1e09a318e1ec33b7e42b45027d48e77..6b20d8b4cfdd55792fe264c7efed40f41d250740 100755 (executable)
@@ -35,6 +35,7 @@ def convert_to_png(filename):
             except KeyError, e:
                 raise BadDataError(e)
             plot = axes.plot(z, d, '.')
+            axes.autoscale(tight=True)
             FIGURE.savefig(png)