aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/graph_extruder.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/graph_extruder.py')
-rwxr-xr-xscripts/graph_extruder.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/graph_extruder.py b/scripts/graph_extruder.py
index 7475c6aa..4e576b77 100755
--- a/scripts/graph_extruder.py
+++ b/scripts/graph_extruder.py
@@ -4,7 +4,10 @@
# Copyright (C) 2019-2021 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
-import math, optparse, datetime
+import datetime
+import math
+import optparse
+
import matplotlib
SEG_TIME = 0.000100
@@ -190,7 +193,9 @@ def setup_matplotlib(output_to_file):
if output_to_file:
matplotlib.rcParams.update({"figure.autolayout": True})
matplotlib.use("Agg")
- import matplotlib.pyplot, matplotlib.dates, matplotlib.font_manager
+ import matplotlib.dates
+ import matplotlib.font_manager
+ import matplotlib.pyplot
import matplotlib.ticker