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

finess palettes #6

Open
piccolbo opened this issue Jan 22, 2019 · 0 comments
Open

finess palettes #6

piccolbo opened this issue Jan 22, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@piccolbo
Copy link
Owner

Right now altair_recipes is using a constant chroma/lightness palette (a hue only palette or HOP), which combines with opacity to show both a variable value as well the number of samples in that area. Some issues:

  1. The combination with opacity doesn't work that well, looks pretty dull and doesn't fade into background
  2. When the only variable represented is counts, the HOP doesn't blend well with the background. The background color should be close to the color fro count of 1.

Potential solutions

  1. We need two palettes, one (the default for instance) that blends into the background and the other that is constant lightness
  2. We need to understand batter how a constant lightness palette combines with opacity
  3. We need to select one of the two palettes appropriately or punt that to the user. For instance, we could use the standard one when the quantity represented is count(), on the HOP otherwise.
@piccolbo piccolbo added the enhancement New feature or request label Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant