Skip to content

Commit

Permalink
move import statement to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Nov 13, 2024
1 parent 464baed commit 0f7bb67
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions acq_stat_reports/scripts/acq_stat_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@
import os
from pathlib import Path

import matplotlib
from astropy import units as u
from cxotime import CxoTime
from ska_helpers import logging

from acq_stat_reports import config as conf
from acq_stat_reports import get_data, make_acq_plots, make_html

matplotlib.use("agg")

SKA = Path(os.environ["SKA"])


Expand Down Expand Up @@ -55,10 +58,6 @@ def get_parser():


def main(sys_args=None):
import matplotlib

matplotlib.use("agg")

args = get_parser().parse_args(sys_args)

logger.setLevel(args.log_level.upper())
Expand Down

0 comments on commit 0f7bb67

Please sign in to comment.