Skip to content

Commit

Permalink
ENH Label your axes
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Feb 28, 2012
1 parent 365d3e7 commit 3e33179
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gitwc/gitwc.py
Expand Up @@ -44,5 +44,9 @@ def recursive_stats(commit, pattern, gatherer=Wc):
chars = [w.chars for _,w in allstats] chars = [w.chars for _,w in allstats]
words = [w.words for _,w in allstats] words = [w.words for _,w in allstats]
plt.plot(map(datetime.fromtimestamp, times), words) 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.savefig("words.pdf")
plt.show() plt.show()

0 comments on commit 3e33179

Please sign in to comment.