I'm interested in using the seaborn joint plot for visualizing correlation between two numpy arrays. I like the visual distinction that the kind='hex' parameter gives, but I would also like to know the actual count that different shades correspond to. Does anyone know how to put this legend on the side or even on the plot? I tried looking at the documentation and couldn't find it.
Thanks!
EDIT: updated to work with new Seaborn ver.
You need to do it manually by making a new axis with
add_axes
and then pass the name of the ax toplt.colorbar()
.Sources: I almost gave up after I read a dev say that the
but then I eventually found this solution in another issue.