From f11482c09ba380369b7c8bf44365e953bb83dcf5 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Wed, 6 Mar 2019 15:29:49 +0100 Subject: [PATCH] Change order of imports in show_spectrum.py (cf. Martina Cardillo) --- examples/show_spectrum.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/show_spectrum.py b/examples/show_spectrum.py index 62f7823..c594efd 100755 --- a/examples/show_spectrum.py +++ b/examples/show_spectrum.py @@ -2,7 +2,7 @@ # ========================================================================== # Display spectrum generated by csspec # -# Copyright (C) 2015-2017 Juergen Knoedlseder +# Copyright (C) 2015-2019 Juergen Knoedlseder # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,8 +19,6 @@ # # ========================================================================== import sys -import gammalib -import cscripts try: import matplotlib.pyplot as plt plt.figure() @@ -28,6 +26,8 @@ try: except (ImportError, RuntimeError): print('This script needs the "matplotlib" module') sys.exit() +import gammalib +import cscripts # ============= # -- libgit2 0.21.4