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/calibrate_shaper.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/calibrate_shaper.py')
-rwxr-xr-x | scripts/calibrate_shaper.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/scripts/calibrate_shaper.py b/scripts/calibrate_shaper.py index 6109d843..c91718f5 100755 --- a/scripts/calibrate_shaper.py +++ b/scripts/calibrate_shaper.py @@ -6,9 +6,15 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. from __future__ import print_function -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") @@ -167,7 +173,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 |