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

"cmapmpl" color scale doesn't show the entire range of colors in continuous cmap. #1149

Closed
alshan opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alshan
Copy link
Collaborator

alshan commented Aug 2, 2024

from lets_plot import *
LetsPlot.setup_html()

x = list(range(50))
p = ggplot({'x': x}, aes(x='x')) + \
    geom_tile(aes(fill='x')) + \
    coord_cartesian() + \
    ggsize(600, 200)

p + scale_fill_cmapmpl('hsv')

image

Expected:

image

(https://matplotlib.org/stable/users/explain/colors/colormaps.html#cyclic)

@alshan alshan added the bug Something isn't working label Aug 2, 2024
@alshan alshan added this to the 2024Q3 milestone Aug 2, 2024
@alshan alshan self-assigned this Aug 2, 2024
@alshan alshan closed this as completed in 729a118 Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant