diff --git a/src/main/python/plot.py b/src/main/python/plot.py index 7bcded9..b72f48d 100644 --- a/src/main/python/plot.py +++ b/src/main/python/plot.py @@ -3,7 +3,6 @@ import sys from config_parse import CFG from constants import * from datetime import datetime, timedelta -from frontend_utils import open_file from constants import * import math @@ -65,7 +64,7 @@ def __plot(tup, datapoints, path, date1=None, date2=None, forcePath=False): path = open_file() if not forcePath: - pic_path = output_path(path,date1,date2) + pic_path = output_path(path, date1, date2) else: pic_path = path diff --git a/src/main/python/plot_graphutils.py b/src/main/python/plot_graphutils.py index 985d625..cc687c4 100644 --- a/src/main/python/plot_graphutils.py +++ b/src/main/python/plot_graphutils.py @@ -8,7 +8,7 @@ import matplotlib.dates import matplotlib.ticker as ticker from constants import * import math -import plot_timeutils +import timeutils matplotlib.rc('font', **GLOBAL_FONT) def getlimits_y(y): @@ -162,7 +162,7 @@ def find_step(step,x,total_xticks): min_delta = delta step = min_delta_step - start = plot_timeutils.round_time_to_step(start,step) + start = timeutils.round_time_to_step(start,step) warn_on_too_much_xticks(x,total_xticks,step) return (start,step)