mirror of https://github.com/Desuuuu/klipper.git
graphstats: Set size on frequency graph
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
69486e45c1
commit
97f7735c6a
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue