-
Notifications
You must be signed in to change notification settings - Fork 20
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
Mapping specific colors to specific values of 'colorBy' #46
Comments
@processir sorry I missed this. Good question, and I see how this can be difficult, since there are no good examples or documentation. Here is a quick example, but unfortunately this does not work as intended. I'll try to get a fix by this weekend.
|
@processir I made a change that I think will allow us to specify |
Hey @timelyportfolio , thanks for your help. Your example seems to work on my end. However, I noticed that the
|
@processir Glad the color fix worked. 1d-multi-axes is same issue as #45. I tried to quickly patch last night when working on color but did not work. Unfortunately this is a more complicated issue requiring changes to underlying library. I hope to fix by year end. |
This is really helpful... thanks! Both examples ( |
Hello,
I'd like to be able to specify colors for specific values of the colorBy variable. Is this possible? I understand that you can specify the variable to color with
colorBy = variable
. But could you pass for e.g. a named vector where the name is the unique value in the variable and the value is the color? This is commonly done in other plotting packages to enforce colors for specific values.The text was updated successfully, but these errors were encountered: