From: Michael Hanke Date: Wed, 18 May 2011 14:02:24 +0000 (-0400) Subject: Move legend. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d87d7ed8a88af9fa6ee6d1162015db5bfbedcb3b;p=neurodebian.git Move legend. --- diff --git a/survey/makestats b/survey/makestats index 0a79054..708e459 100755 --- a/survey/makestats +++ b/survey/makestats @@ -242,7 +242,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='center left') + pl.legend(loc='top left') pl.yticks(x + 0.2, env_names) pl.ylim(-0.4, len(envs)) pl.title("Research activity time by environment")