Friday, 15 April 2011

python - Getting legend in seaborn jointplot -


I'm interested in using a collective conspiracy to celebrate the relationship between two oval arrays. I like the visual distinction that gives the type = 'hex' parameter, but I would like to know the actual count that corresponds to different colors, do anyone know how to keep this legend on the side or in conspiracy? I tried to see the document and did not get it.

Thank you!

you have to do it manually by creating a new axis with add_axes The name of the ax and then the name of the code plt.colorbar ()

  as imported NP import as SABS X = NP.RAM. Normal (0.0,1.0,1000) y = N.P.Ram. Normal (0.0.1.0.1000) hepplhot = ssnnplot (x, y, type = "hex") sns.plt.subplots_adjust (left = 0.2, right = 0.8, top = 0.8, # 0.2, .25, .05, .4]) # X, Y, width, height sns.plt.colorbar (cax = Cax)  

Source:

"work / profit ratio [to apply colorful] is very high"

But then I finally found this solution.


No comments:

Post a Comment