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

Strange looking legend for tiles #245

Closed
IKrukov-HORIS opened this issue Nov 25, 2020 · 1 comment
Closed

Strange looking legend for tiles #245

IKrukov-HORIS opened this issue Nov 25, 2020 · 1 comment
Assignees

Comments

@IKrukov-HORIS
Copy link
Contributor

Sometimes legend for tiles looks like this:
Screenshot from 2020-11-25 18-42-55

Example:

d = { 'x' : [1], 'y' : [1], 'c' : [0]}
ggplot(d) + geom_tile(mapping=aes(x='x', y='y', fill='c', color='c')) +
scale_color_brewer(name = 'c', palette='Spectral') +
scale_fill_brewer(name='', palette='Spectral')

@alshan
Copy link
Collaborator

alshan commented Nov 27, 2020

Bug: In scale_xxx() parameter name='' has the same effect as guide='none' - hides the legend.
Expected: parameter name='' should only remove the legend title.

@alshan alshan added this to the 2021Q2 milestone Mar 26, 2021
@alshan alshan modified the milestones: 2021Q2, 2021Q3 Jun 28, 2021
@alshan alshan self-assigned this Jun 30, 2021
@alshan alshan closed this as completed in 9eb5d3f Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants