diff --git a/gitwc/gitwc.py b/gitwc/gitwc.py index 887bb72..d6c2ce4 100644 --- a/gitwc/gitwc.py +++ b/gitwc/gitwc.py @@ -44,5 +44,9 @@ def recursive_stats(commit, pattern, gatherer=Wc): chars = [w.chars for _,w in allstats] words = [w.words for _,w in allstats] plt.plot(map(datetime.fromtimestamp, times), words) + plt.rc('text', usetex=True) + plt.rc('font', family='serif') + plt.ylabel(r'Nr. words') + plt.xlabel(r'time') plt.savefig("words.pdf") plt.show()