Update speedtester.py

Tight layout
master
Nixellion 2020-06-23 19:10:33 +03:00
parent bdf06eb598
commit 18e7d310f8
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ def generate_plot_image(dates, downloads, uploads):
dates = matplotlib.dates.date2num(dates)
plt.plot_date(dates, downloads, fmt="b-")
plt.ylabel('Download Speed Mbps')
plt.tight_layout()
plt.savefig(read_config()['output_image_path'])
def generate_txt_output(dates, downloads, uploads):