From 2e9eb9864b4d75cfc0b1a20dbda6b25c9b57a2b1 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 16 Aug 2020 16:05:07 +0200 Subject: [PATCH] remove obsolete call to frontend_utils --- src/main/python/plot.py | 3 +-- src/main/python/plot_graphutils.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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)