]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Oneiric is too popular, need to adjust stats figure scaling.
authorMichael Hanke <michael.hanke@gmail.com>
Fri, 27 Jan 2012 09:35:24 +0000 (10:35 +0100)
committerMichael Hanke <michael.hanke@gmail.com>
Fri, 27 Jan 2012 09:35:24 +0000 (10:35 +0100)
tools/nd_apachelogs2subscriptionstats

index 6ecc7c73936e4ed8e0a094ebec6c69bf2dfb587d..b39df162fb0799ebcbcc61b19fd3306c3faad3d4 100755 (executable)
@@ -27,9 +27,9 @@ dt = [('ip', '|S16'),
 def make_figure(data):
     fig = pl.figure(figsize=(14,3))
     ax = fig.add_subplot(121)
-    plot_datehist(ax, data, 10, [code for code in cfg.options('release codenames') if cfg.get('release codenames', code).count('Debian')], title="Debian", ymax=10)
+    plot_datehist(ax, data, 10, [code for code in cfg.options('release codenames') if cfg.get('release codenames', code).count('Debian')], title="Debian", ymax=11)
     ax = fig.add_subplot(122)
-    plot_datehist(ax, data, 10, [code for code in cfg.options('release codenames') if cfg.get('release codenames', code).count('Ubuntu')], title="Ubuntu", ymax=10)
+    plot_datehist(ax, data, 10, [code for code in cfg.options('release codenames') if cfg.get('release codenames', code).count('Ubuntu')], title="Ubuntu", ymax=11)
     fig.autofmt_xdate()
     return fig