graphstats: Set size on frequency graph

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-02-18 20:42:28 -05:00
parent 69486e45c1
commit 97f7735c6a
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ def plot_frequency(data, outname):
ax1.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%H:%M')) ax1.xaxis.set_major_formatter(matplotlib.dates.DateFormatter('%H:%M'))
ax1.yaxis.set_major_formatter(matplotlib.ticker.FormatStrFormatter('%d')) ax1.yaxis.set_major_formatter(matplotlib.ticker.FormatStrFormatter('%d'))
ax1.grid(True) ax1.grid(True)
fig.set_size_inches(8, 6)
fig.savefig(outname) fig.savefig(outname)
def main(): def main():