You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Spyder as IDE and try this quick example. The code works fine, but I can't plot the forecast or parameters. I don't get an error after the plot command. Here my example code:
import pandas as pd
from neuralprophet import NeuralProphet, set_log_level
import matplotlib.pyplot as plt
df = pd.read_csv("https://github.com/ourownstory/neuralprophet-data/raw/main/kaggle-energy/datasets/tutorial01.csv")
set_log_level("ERROR")
m = NeuralProphet()
metrics = m.fit(df)
df_future = m.make_future_dataframe(df, n_historic_predictions=True, periods=365)
forecast = m.predict(df_future)
plt = m.plot(forecast)
plt.show()
plt = m.plot_components(forecast)
plt.show()
I'm using matplotlib.pyplot because it was the fix in an other post. But it doesn't work :-(
What can I do here???
Thanks
Torsten
The text was updated successfully, but these errors were encountered:
Hi,
I'm using Spyder as IDE and try this quick example. The code works fine, but I can't plot the forecast or parameters. I don't get an error after the plot command. Here my example code:
I'm using matplotlib.pyplot because it was the fix in an other post. But it doesn't work :-(
What can I do here???
Thanks
Torsten
The text was updated successfully, but these errors were encountered: