From: Michael Hanke Date: Fri, 27 Jan 2012 09:35:24 +0000 (+0100) Subject: Oneiric is too popular, need to adjust stats figure scaling. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a5b55539a6a910c1872f5029273ecfd02f5a6ccc;p=neurodebian.git Oneiric is too popular, need to adjust stats figure scaling. --- diff --git a/tools/nd_apachelogs2subscriptionstats b/tools/nd_apachelogs2subscriptionstats index 6ecc7c7..b39df16 100755 --- a/tools/nd_apachelogs2subscriptionstats +++ b/tools/nd_apachelogs2subscriptionstats @@ -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