diff --git a/pyaf/TS/Plots.py b/pyaf/TS/Plots.py index 16185b3ba..9f67f6c83 100644 --- a/pyaf/TS/Plots.py +++ b/pyaf/TS/Plots.py @@ -86,8 +86,8 @@ def decomp_plot(df, time, signal, estimator, residue, name = None, format='png', plt.close(fig) -def decomp_plot_as_png_base64(df, time, signal, estimator, residue, name = None, max_length = 1000, horizon = 1) : - fig = decomp_plot_internal(df, time, signal, estimator, residue, name, format, max_length, horizon) +def decomp_plot_as_png_base64(df, time, signal, estimator, residue, name = None, max_length = 1000, horizon = 1, title = None) : + fig = decomp_plot_internal(df, time, signal, estimator, residue, name, format, max_length, horizon, title) import matplotlib import matplotlib.pyplot as plt diff --git a/pyaf/WS/WS_Backend.py b/pyaf/WS/WS_Backend.py index 71f9e0034..7d9f1caaa 100644 --- a/pyaf/WS/WS_Backend.py +++ b/pyaf/WS/WS_Backend.py @@ -29,7 +29,7 @@ def __init__(self , name = ""): self.mMaxHistoryForDisplay = 1000; # max length of data frames returned in json self.mForecastData = None; self.mPlots = {}; - self.mURI = os.environ.get("PYAF_URL", "http://0.0.0.0:8081/"); + self.mURI = os.environ.get("PYAF_URL", "http://127.0.0.1:8081/"); def convert_string_to_date(self, iString): if(self.mDateFormat is not None and self.mDateFormat != ""):