aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/graph_accelerometer.py
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2025-08-15 21:48:09 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2025-08-15 21:48:09 +0100
commit22169b99b7756349baddae84b2b4e058acce5599 (patch)
tree0872a0b01322f2b776ee99b43c54fd3e824cf85e /scripts/graph_accelerometer.py
parenta961fbda426d79dc3c33a66848408e84b0737a98 (diff)
downloadkutter-22169b99b7756349baddae84b2b4e058acce5599.tar.gz
kutter-22169b99b7756349baddae84b2b4e058acce5599.tar.xz
kutter-22169b99b7756349baddae84b2b4e058acce5599.zip
Isort all scriptsv0.1.0-rc1
Diffstat (limited to 'scripts/graph_accelerometer.py')
-rwxr-xr-xscripts/graph_accelerometer.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/scripts/graph_accelerometer.py b/scripts/graph_accelerometer.py
index 7286c041..f33b76ef 100755
--- a/scripts/graph_accelerometer.py
+++ b/scripts/graph_accelerometer.py
@@ -5,9 +5,14 @@
# Copyright (C) 2020 Dmitry Butyugin <dmbutyugin@google.com>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
-import importlib, optparse, os, sys
+import importlib
+import optparse
+import os
+import sys
from textwrap import wrap
-import numpy as np, matplotlib
+
+import matplotlib
+import numpy as np
sys.path.append(
os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "klippy")
@@ -250,7 +255,9 @@ def setup_matplotlib(output):
if output:
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