Skip to content
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

Color Legend has 0 width when only 1 column is used #19

Closed
gamundsen opened this issue Jan 6, 2016 · 1 comment
Closed

Color Legend has 0 width when only 1 column is used #19

gamundsen opened this issue Jan 6, 2016 · 1 comment
Labels

Comments

@gamundsen
Copy link

When making a corrPlot that only has one column the color bar in the legend has width = 0

See discussion on stack overflow:

http://stackoverflow.com/questions/34638555/color-legend-has-0-width-when-making-corrplot-with-1-column/34640228#34640228

vsimko added a commit to vsimko/corrplot that referenced this issue Mar 1, 2016
taiyun added a commit that referenced this issue Mar 1, 2016
@vsimko
Copy link
Collaborator

vsimko commented Mar 1, 2016

Working example:

library(corrplot)
mc <- cor(mtcars, mtcars["mpg"])
corrplot(mc, method = "circle", cl.ratio = 1)

@vsimko vsimko closed this as completed Mar 1, 2016
@vsimko vsimko added the bug label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants