Update speedtester.py
parent
009f4a3d68
commit
2630258ae6
|
|
@ -43,7 +43,7 @@ def generate_plot_image(dates, downloads, uploads, name="speed", description="Sp
|
||||||
|
|
||||||
|
|
||||||
dates = matplotlib.dates.date2num(dates)
|
dates = matplotlib.dates.date2num(dates)
|
||||||
fig = plt.figure(figsize=(len(dates / 10) * 15, len(dates / 10) * 3))
|
fig = plt.figure(figsize=(15, 3))
|
||||||
plt.plot_date(dates, downloads, fmt="b-")
|
plt.plot_date(dates, downloads, fmt="b-")
|
||||||
plt.ylabel(description + " (Mbps)")
|
plt.ylabel(description + " (Mbps)")
|
||||||
plt.tight_layout()
|
plt.tight_layout()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue