diff --git a/Inst_eddies/Analysis/plot_eddy_contours.py b/Inst_eddies/Analysis/plot_eddy_contours.py
index 6e1292c79c0aa20f470ba9747cd1c65e1a876ad6..4e8dab695274b72ff128f0c984df83d95c03a5fd 100755
--- a/Inst_eddies/Analysis/plot_eddy_contours.py
+++ b/Inst_eddies/Analysis/plot_eddy_contours.py
@@ -192,11 +192,12 @@ def plot_grid_points(grid_nml, window, ax, src_crs):
 
 
 if __name__ == "__main__":
-    import matplotlib.pyplot as plt
-    import argparse
-    import f90nml
     from os import path
     import sys
+    import argparse
+
+    import matplotlib.pyplot as plt
+    import f90nml
 
     parser = argparse.ArgumentParser()
     parser.add_argument("-d", "--date", type=int, help="date index")