From 56bc4c40995b046c79ec7a6e60304d674c7fc20d Mon Sep 17 00:00:00 2001 From: David Minton Date: Tue, 22 Feb 2022 09:52:12 -0500 Subject: [PATCH] Fixed position of import statements --- python/ctem/ctem/io.py | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/python/ctem/ctem/io.py b/python/ctem/ctem/io.py index d4842f8c..60ae499e 100644 --- a/python/ctem/ctem/io.py +++ b/python/ctem/ctem/io.py @@ -1,3 +1,13 @@ +import numpy as np +import os +import shutil +from matplotlib.colors import LightSource +import matplotlib.cm as cm +import matplotlib.pyplot as plt + +# Set pixel scaling common for image writing, at 1 pixel/ array element +dpi = 72.0 + def copy_dists(parameters): # Save copies of distribution files @@ -398,15 +408,3 @@ def write_production(parameters, production): return - -dpi = 72.0 - - -from matplotlib.colors import LightSource -import matplotlib.cm as cm - -# Set pixel scaling common for image writing, at 1 pixel/ array element -import matplotlib.pyplot as plt -import numpy as np -import os -import shutil