Not all plots with original values on y axes
- Dominant language
- Python
- Stars
- 20.4k
- Forks
- 4.6k
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 1
Description
Hi All,
I use the following code to forecast and plot multiple unique values (projects).
But, on the Y axxis I would like to have the original values. With some plots this is the case, but some are in log.
How could I achieve my goal?
Side note; the plots that have the original values on the Y axxis, have a strange forecast.
`for i in range(len(data['Nr.'].unique())):
# Initiate the model
m = Prophet(changepoint_prior_scale=0.1, seasonality_prior_scale=5, seasonality_mode='multiplicative')
# Fit the model
m.fit(data[data['Nr.'] == data['Nr.'].unique()[i]])
# Make predictions
future = m.make_future_dataframe(periods=18, freq='MS')
forecast = m.predict(future)
# Plot the forecast
m.plot(forecast)
plt.title(f'Kosten prognose voor project {data["Nr."].iloc[i]}')
plt.xlabel("Datum", fontsize=10)
plt.ylabel("Totale kosten", fontsize=10)
plt.show()`


Contributor guide
Assessment
This issue has not been assessed yet.