Permalink
Browse files

ENH Label your axes

  • Loading branch information...
1 parent 365d3e7 commit 3e33179a180fdbd3b8d710b3a1808f63772ab5d1 @luispedro committed Feb 28, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 gitwc/gitwc.py
View
@@ -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()

0 comments on commit 3e33179

Please sign in to comment.