Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed position of import statements
  • Loading branch information
daminton committed Feb 22, 2022
1 parent a462529 commit 56bc4c4
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions python/ctem/ctem/io.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

0 comments on commit 56bc4c4

Please sign in to comment.