Created
November 3, 2021 21:11
-
-
Save techwithshadab/ee9acba015eacf8ece577e9e75ff0498 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f, ax = plt.subplots(figsize=(20, 8)) | |
optimized_value = sns.barplot(state, probabilities) | |
for item in optimized_value.get_xticklabels(): | |
item.set_rotation(45) | |
plt.title("Probabilites of Each Possible Combination of Assets", fontsize=25) # Probability of Max Return at given risk level | |
plt.xlabel('Possible Combinations of Assets',fontsize =20) | |
plt.ylabel('Probability',fontsize = 20) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment