From fa73a4f2995ae81c2724a819bbee5bc2bbf3b8e4 Mon Sep 17 00:00:00 2001 From: Nixellion Date: Sun, 28 Jun 2020 16:52:58 +0300 Subject: [PATCH] Update speedtester.py --- speedtester.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/speedtester.py b/speedtester.py index ecb0dcf..942f431 100644 --- a/speedtester.py +++ b/speedtester.py @@ -44,8 +44,8 @@ def generate_plot_image(dates, downloads, uploads, name="speed", description="Sp dates = matplotlib.dates.date2num(dates) fig = plt.figure(figsize=(15, 3)) - plt.plot_date(dates, downloads, linestyle='solid', color="red", linewidth=2) - plt.plot_date(dates, uploads, linestyle='dashed', color="green", linewidth=0.5) + plt.plot_date(dates, downloads, linestyle='solid', color="red", linewidth=2, marker=None) + plt.plot_date(dates, uploads, linestyle='dashed', color="green", linewidth=0.5, marker=None) plt.ylabel(description + " (Mbps)") plt.tight_layout() plt.savefig(read_config()['output_image_path'].format(name)) @@ -67,8 +67,8 @@ def generate_diff(dates, downloads, uploads): def generate_updown_plot_simple(downloads, uploads, name, description): fig = plt.figure(figsize=(10, 3)) - plt.plot(downloads, linestyle='solid', color="red", linewidth=2) - plt.plot(uploads, linestyle='dashed', color="green", linewidth=0.5) + plt.plot(downloads, linestyle='solid', color="red", linewidth=2, marker=None) + plt.plot(uploads, linestyle='dashed', color="green", linewidth=0.5, marker=None) plt.ylabel(description + " (Mbps)") plt.tight_layout() plt.savefig(read_config()['output_image_path'].format(name))