Update speedtester.py
This commit is contained in:
+1
-1
@@ -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 / 30), 3))
|
fig = plt.figure(figsize=(len(dates / 30), 1))
|
||||||
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user