use a bar graph for activity
This commit is contained in:
parent
02a83739d1
commit
b724258f23
|
@ -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)
|
||||
|
|
Reference in New Issue