From 649e33a17a444160e587c64d114aba6ec4f6122a Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Wed, 18 May 2011 10:46:46 -0400 Subject: [PATCH] Delicate fixes. --- survey/makestats | 3 ++- survey/select_country.inc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/survey/makestats b/survey/makestats index 708e459..4e7ee76 100755 --- a/survey/makestats +++ b/survey/makestats @@ -216,6 +216,7 @@ def mkpic_os_per_env(db, destdir): pl.legend(loc='center left') pl.yticks(x + 0.4, env_names[::-1]) pl.ylim(-0.25, len(envs)) + pl.xlim(0,1) pl.title("Operating system preference by environment") pl.xlabel("Fraction of submissions") pl.subplots_adjust(left=0.15, right=0.97) @@ -242,7 +243,7 @@ def mkpic_time_per_env(db, destdir): pl.barh(x, stat, left=bottoms, color=time_colors[i], label=db.get_nice_name(t), height=.6) bottoms += stat - pl.legend(loc='top left') + pl.legend(loc='upper left') pl.yticks(x + 0.2, env_names) pl.ylim(-0.4, len(envs)) pl.title("Research activity time by environment") diff --git a/survey/select_country.inc b/survey/select_country.inc index 154ac95..63c4dc7 100644 --- a/survey/select_country.inc +++ b/survey/select_country.inc @@ -219,7 +219,7 @@ - + -- 2.39.5