From a5b55539a6a910c1872f5029273ecfd02f5a6ccc Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Fri, 27 Jan 2012 10:35:24 +0100 Subject: [PATCH] Oneiric is too popular, need to adjust stats figure scaling. --- tools/nd_apachelogs2subscriptionstats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2