From e055b0751860d26fb3fcd98403e6f10a0cc286e5 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Mon, 27 May 2024 15:37:15 +0200 Subject: [PATCH] Follow PEP 8 - Code lay-out - Imports --- Inst_eddies/Analysis/plot_eddy_contours.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Inst_eddies/Analysis/plot_eddy_contours.py b/Inst_eddies/Analysis/plot_eddy_contours.py index 6e1292c7..4e8dab69 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") -- GitLab