diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-15 21:48:09 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-08-15 21:48:09 +0100 |
commit | 22169b99b7756349baddae84b2b4e058acce5599 (patch) | |
tree | 0872a0b01322f2b776ee99b43c54fd3e824cf85e /scripts/graph_temp_sensor.py | |
parent | a961fbda426d79dc3c33a66848408e84b0737a98 (diff) | |
download | kutter-22169b99b7756349baddae84b2b4e058acce5599.tar.gz kutter-22169b99b7756349baddae84b2b4e058acce5599.tar.xz kutter-22169b99b7756349baddae84b2b4e058acce5599.zip |
Isort all scriptsv0.1.0-rc1
Diffstat (limited to 'scripts/graph_temp_sensor.py')
-rwxr-xr-x | scripts/graph_temp_sensor.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/scripts/graph_temp_sensor.py b/scripts/graph_temp_sensor.py index fa6a680c..a03805cf 100755 --- a/scripts/graph_temp_sensor.py +++ b/scripts/graph_temp_sensor.py @@ -4,9 +4,11 @@ # Copyright (C) 2020 Kevin O'Connor <kevin@koconnor.net> # # This file may be distributed under the terms of the GNU GPLv3 license. -import sys, os, optparse -import matplotlib +import optparse +import os +import sys +import matplotlib ###################################################################### # Dummy config / printer / etc. class emulation @@ -124,7 +126,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 @@ -133,7 +137,8 @@ def import_sensors(config): # Load adc_temperature.py and thermistor.py modules kdir = os.path.join(os.path.dirname(__file__), "..", "klippy") sys.path.append(kdir) - import extras.adc_temperature, extras.thermistor + import extras.adc_temperature + import extras.thermistor extras.thermistor.load_config(config) extras.adc_temperature.load_config(config) |