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

Gradient AND Categorical fill #7

Open
DominiqueMakowski opened this issue Nov 3, 2017 · 1 comment
Open

Gradient AND Categorical fill #7

DominiqueMakowski opened this issue Nov 3, 2017 · 1 comment

Comments

@DominiqueMakowski
Copy link

Hey, thanks for your awesome package.

I was wondering if it was possible to mix gradient and categorical fills.

Based on your vignettes, it would be like mixing the picture from Catalan regional elections and the one with Temperatures in Lincoln.

For example, having, for each "line" (y axis), two density plots (corresponding to two categories, such as in your example indie vs. unionist), but those two density plots are both gradient filled, with a different gradient. For example, the unionist would be "from dark blue to white" and the unionist "from white to dark red".

Is that possible? Thanks a lot!

@trevorld
Copy link
Contributor

Do you have an example? Somewhat more advanced gradient fills may be possible after #98

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