-
Notifications
You must be signed in to change notification settings - Fork 9
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
Allow for user to specify outline color #67
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @willgearty, this is looking great! Nothing really to comment on the code... behaves as it should. I've suggested a few changes to documentation. My main comment is that I think we should try to ensure the same behaviour between add_phylopic
, add_phylopic_base
, and geom_phylopic
for the color
and fill
arguments.
Co-authored-by: Lewis A. Jones <[email protected]>
Thanks for the review @LewisAJones! I believe that should address all of your comments. I've changed the default behavior, and this behavior is now the same across all three functions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @willgearty! Changes look good to me now, I have nothing worthwhile adding. Good job!
This adds a
fill
argument/aesthetic that allows users to specify different outline and body colors for silhouettes (ingeom_phylopic
,add_phylopic
, andadd_phylopic_base
):Note that I was able to make it such that if only the
color
aesthetic/argument was specified (the old user behavior) in geom_phylopic or add_phylopic that that color is used for both the color and fill now.Fixes #58.