Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JessicaAI opened this issue Mar 26, 2023 · 0 comments

Comments

@JessicaAI
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant