aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/graphstats.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/graphstats.py')
-rwxr-xr-xscripts/graphstats.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/graphstats.py b/scripts/graphstats.py
index 4a8a7164..731d9758 100755
--- a/scripts/graphstats.py
+++ b/scripts/graphstats.py
@@ -4,7 +4,9 @@
# Copyright (C) 2016-2021 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
-import optparse, datetime
+import datetime
+import optparse
+
import matplotlib
MAXBANDWIDTH = 25000.0
@@ -64,7 +66,9 @@ def setup_matplotlib(output_to_file):
global matplotlib
if output_to_file:
matplotlib.use("Agg")
- import matplotlib.pyplot, matplotlib.dates, matplotlib.font_manager
+ import matplotlib.dates
+ import matplotlib.font_manager
+ import matplotlib.pyplot
import matplotlib.ticker