diff options
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 |