-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with legend.position = "bottom" #7
Comments
Note that it is also possible to change the legend width and height within the theme() function:
@caijun would you be interested in adding an option 'legend.position' in the function ggcorrplot that addresses this? I tried it out on a local branch on my pc already, if you want I can upload that version somewhere next week. |
LDSamson As the function |
I can understand that you want to keep the package as simple as possible, with not too many parameters in the function, I think that is a good design choice. Just a thought: another option would be to leave out the I will have a look at the other issue! |
Hi,
when I try using legend.position = "bottom", as shown in your vignette, the legend keeps staying vertical at the bottom with some weird dimension (image attached).
I'm using ggcorrplot2_0.1.1, ggplot2_3.3.5, RColorBrewer_1.1-2.
This example shows what happens:
I think I worked out the problem, in scale_fill_graidientn (and colour)
barwidth and barheight are hindering any changes to the legend. Thus, when I try to flip it, it keeps barheight = 15 making that strange legend. Just removing those two lines fixed the problem.
Luca
The text was updated successfully, but these errors were encountered: