facebook / facebook/prophet

ValueError" occurred with the message "rotation must be 'vertical', 'horizontal' or a number, not 45"

Open
#2,394 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

When executing the code "increase, decrease = tsmc.predict_future(days = 100)", a "ValueError" occurred with the message "rotation must be 'vertical', 'horizontal' or a number, not 45".

The code has been updated as follows:

plt.legend(loc = 2, prop={'size': 10});
plt.xticks(rotation='vertical')
plt.ylabel('Predicted Stock Price (US $)');
plt.xlabel('Date'); plt.title('Predictions for %s' % self.symbol);
plt.show()

However, the same issue persists. Please debug.
[stock_2330.zip](https://github.com/facebook/prophet/files/11067990/stock_2330.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.