Update speedtester.py
parent
b5fdd4da10
commit
abe45974b5
|
|
@ -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 / 10), 3))
|
||||
fig = plt.figure(figsize=(len(dates / 30), 3))
|
||||
plt.plot_date(dates, downloads, fmt="b-")
|
||||
plt.ylabel(description + " (Mbps)")
|
||||
plt.tight_layout()
|
||||
|
|
|
|||
Loading…
Reference in New Issue