From b37ed04e4ed082cdf4ff2aaa9b40faf98460760a Mon Sep 17 00:00:00 2001 From: Simon Alexander Wittner <108267997+SimonWittner@users.noreply.github.com> Date: Mon, 15 Jan 2024 11:22:37 -0800 Subject: [PATCH] [fix] Plot_parameter - Yearly Seasonality (#1501) * plotly xaxis * black --- neuralprophet/plot_model_parameters_plotly.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/neuralprophet/plot_model_parameters_plotly.py b/neuralprophet/plot_model_parameters_plotly.py index b63508f5a..78c63e105 100644 --- a/neuralprophet/plot_model_parameters_plotly.py +++ b/neuralprophet/plot_model_parameters_plotly.py @@ -502,7 +502,11 @@ def plot_yearly(m, quantile, comp_name="yearly", yearly_start=0, quick=True, mul ) padded_range = get_dynamic_axis_range(df_y["ds"].dt.to_pydatetime(), type="dt") - xaxis = go.layout.XAxis(title="Day of year", range=padded_range) + xaxis = go.layout.XAxis( + title="Day of year", + range=padded_range, + tickformat="%B %e", + ) yaxis = go.layout.YAxis( rangemode="normal", title=go.layout.yaxis.Title(text=f"Seasonality: {comp_name}"),