Update speedtester.py

This commit is contained in:
Nix
2020-06-28 16:39:02 +03:00
parent 265e735d96
commit 009f4a3d68
+1 -1
View File
@@ -43,7 +43,7 @@ def generate_plot_image(dates, downloads, uploads, name="speed", description="Sp
dates = matplotlib.dates.date2num(dates)
fig = plt.figure(figsize=(len(dates / 30), 1))
fig = plt.figure(figsize=(len(dates / 10) * 15, len(dates / 10) * 3))
plt.plot_date(dates, downloads, fmt="b-")
plt.ylabel(description + " (Mbps)")
plt.tight_layout()