简体   繁体   中英

How to make an asset allocation line graph in Python?

在此处输入图像描述

Can someone please let me know what kind of graph this is called?

I am running an asset allocation with different risk/return combinations and would like to show the change in asset allocation through a graph.

The graph shown has time on the x axis and I would like to change that to increase in risk (volatility) Thank you so much!

I am not sure what in Matplot this is called but have no luck finding the right graph to do so.

there is powerful package plotly. It has lots of plot types and python api, you can check examples here https://plotly.com/python/ . There are some which might suit for you Take a look to contour plot https://plotly.com/python/contour-plots/ and https://plotly.com/python/knn-classification/#probability-estimates-with-gocontour

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM