remove obsolete call to frontend_utils

This commit is contained in:
Yannik Schmidt
2020-08-16 16:05:07 +02:00
parent 5c4d7ccece
commit 2e9eb9864b
2 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ import sys
from config_parse import CFG from config_parse import CFG
from constants import * from constants import *
from datetime import datetime, timedelta from datetime import datetime, timedelta
from frontend_utils import open_file
from constants import * from constants import *
import math import math
@@ -65,7 +64,7 @@ def __plot(tup, datapoints, path, date1=None, date2=None, forcePath=False):
path = open_file() path = open_file()
if not forcePath: if not forcePath:
pic_path = output_path(path,date1,date2) pic_path = output_path(path, date1, date2)
else: else:
pic_path = path pic_path = path

View File

@@ -8,7 +8,7 @@ import matplotlib.dates
import matplotlib.ticker as ticker import matplotlib.ticker as ticker
from constants import * from constants import *
import math import math
import plot_timeutils import timeutils
matplotlib.rc('font', **GLOBAL_FONT) matplotlib.rc('font', **GLOBAL_FONT)
def getlimits_y(y): def getlimits_y(y):
@@ -162,7 +162,7 @@ def find_step(step,x,total_xticks):
min_delta = delta min_delta = delta
step = min_delta_step 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) warn_on_too_much_xticks(x,total_xticks,step)
return (start,step) return (start,step)