From f652725984fb79c25cc4e6143d1e2151f1ebf5d3 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 21 Oct 2019 18:23:41 +0200 Subject: [PATCH] remove line smoothing It doesn't really help with readability --- sensors/collector/plot.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sensors/collector/plot.py b/sensors/collector/plot.py index 839e0d6..c1f30e1 100644 --- a/sensors/collector/plot.py +++ b/sensors/collector/plot.py @@ -13,8 +13,7 @@ def temperature(): plot_div = plot([Scatter(x=x_axis , y=y_axis, mode='lines', name='temperature', - opacity=0.8, marker_color='green', - line_shape='spline')], + opacity=0.8, marker_color='green')], output_type='div') return plot_div @@ -29,8 +28,7 @@ def humidity(): plot_div = plot([Scatter(x=x_axis , y=y_axis, mode='lines', name='humidity', - opacity=0.8, marker_color='green', - line_shape='spline')], + opacity=0.8, marker_color='green')], output_type='div') return plot_div @@ -45,7 +43,6 @@ def pressure(): plot_div = plot([Scatter(x=x_axis , y=y_axis, mode='lines', name='pressure', - opacity=0.8, marker_color='green', - line_shape='spline')], + opacity=0.8, marker_color='green')], output_type='div') return plot_div