Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

plot_components in python fbprophet returns duplicate plots

I am using prophet in python for time series forecasting. After fitting the model, when I use plot_components(forecast) to plot the seasonal components, I get two copies of each plot: 2 copies of trend, daily seasonability, etc. Any idea why?

like image 794
user10756788 Avatar asked May 12 '26 12:05

user10756788


1 Answers

put semicolon(;) after m.plot(forecast)

>>m.plot(forecast);

refer this

like image 83
narirock Avatar answered May 14 '26 03:05

narirock