Commit f43556b3 authored by Jameson Rollins's avatar Jameson Rollins

clean up unnecessary imports

parent 49b8f786
import os
import sys
import time
import signal
import argparse
if sys.version_info.major > 2:
......
......@@ -20,7 +20,6 @@ except ImportError:
from ._version import __version__
from . import const
from . import db
from .system import GuardSystemError
from .worker import Worker
############################################################
......
......@@ -2,7 +2,6 @@ import re
import inspect
import networkx
from networkx.drawing.nx_pydot import to_pydot
import pydot
NOT_DECORATORS = ['property']
......
......@@ -346,7 +346,6 @@ network location as well (e.g. https://...)."""
sys.exit("GUARD_ARCHIVE_ROOT or IFO/SITE env vars must be specified to find code archives.")
import git
import guardian.archive as archive
archive_path = os.path.join(ARCHIVE_ROOT, args.system)
......@@ -473,7 +472,6 @@ p.add_argument('time1', metavar='<time1>', nargs='?',
def plot_history(args):
"""Plot node data/state around specified time (NDS)."""
import matplotlib.pyplot as plt
import guardian.plotutils as pu
system = cli.init_system(args, load=True)
center_time = args.time0
......
from __future__ import division, print_function
import os
import sys
import time
import argparse
......
from __future__ import division
import os
import math
from . import resources
......
......@@ -8,7 +8,7 @@ from matplotlib.axes import Axes
from matplotlib.gridspec import GridSpec
from matplotlib.ticker import MultipleLocator, FixedLocator, NullLocator
from matplotlib.ticker import FuncFormatter
from matplotlib.colors import Colormap, ListedColormap
from matplotlib.colors import ListedColormap
#from matplotlib.patches import Rectangle
from gpstime import gpstime
......@@ -17,7 +17,6 @@ from pydv.util import make_default_logger
from pydv import NDSBufferDict, NDSBuffer
from . import const
from .system import GuardSystem
from .db import guarddb
##################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment