heatmaply icon indicating copy to clipboard operation
heatmaply copied to clipboard

Positioning color bar in ggheatmap

Open rkmeade opened this issue 3 years ago • 1 comments

The color bar shifts to the left side in the static plot, but (as a matter of personal preference) I am trying to move it back to the right. However, when I pass settings for colorbar_xpos, colorbar_ypos, colorbar_xanchor, or colorbar_yanchor, nothing happens.

Would be super appreciative if this could be updated. Otherwise, I love the package!

rkmeade avatar Aug 07 '20 17:08 rkmeade

Can you provide some example code please?

fwiw those arguments are never going to work with ggheatmap because ggplot2 doesn't (afaik) allow specific positioning of the colour scale, and handling manual placement of scales with gridExtra is beyond the scope of the package

alanocallaghan avatar Aug 08 '20 14:08 alanocallaghan