X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tools%2Fnd_apachelogs2subscriptionstats;h=b39df162fb0799ebcbcc61b19fd3306c3faad3d4;hb=a5b55539a6a910c1872f5029273ecfd02f5a6ccc;hp=6ecc7c73936e4ed8e0a094ebec6c69bf2dfb587d;hpb=252724b55a08e5d4bbd5dca8742bfe07d534dd2b;p=neurodebian.git 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