Created
November 3, 2021 21:07
-
-
Save techwithshadab/8710787f91d0f4dc02f139634903f872 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