python - Combination of heatmap and pie -


i plot composition of variable. data looks this:

                    myvar   measure year foo                       2000 10.0    0.000000e+00  0.066713      30.0    1.152017e-04  0.053736      120.0   7.543610e-05  0.057079      130.0   1.548414e-05  0.049710      150.0   1.866075e-05  0.037900      205.0   5.149826e-05  0.070005      230.0   4.304189e-05  0.046248      310.0   2.396196e-04  0.094679      320.0   7.342837e-07  0.009593      350.0   8.480623e-05  0.050623      410.0   5.261248e-05  0.041547      430.0   1.077454e-03  0.089777      500.0   1.931149e-05  0.021819      510.0   3.651339e-06  0.106667      520.0   2.623919e-05  0.067549      530.0   5.410473e-05  0.045424      540.0   4.812124e-05  0.009596 

basically, myvar sums one. each row shows composition of foo in myvar, along corresponding measure.

if wanted plot "20% of myvar comes measures between 0.05 , 0.06, translate measure groups (round 1 decimal), , plot pie.

but rather want heatmap, can use colors indicate meausure. how plot that?


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -