use a bar graph for activity

This commit is contained in:
Frédéric Péters 2017-10-14 23:18:52 +02:00
parent 02a83739d1
commit b724258f23
1 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,6 @@ class Command(GraphCommand):
dates = sorted(events.keys())
values = [events[x] for x in dates]
plt.plot(dates, values)
plt.bar(dates, values, width=20)
plt.gca().xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%m/%Y'))
self.plot(options)