palaeoverse / rphylopic

Get Silhouettes of Organisms from PhyloPic
https://rphylopic.palaeoverse.org
GNU General Public License v3.0
91 stars 9 forks source link

Allow for user to specify outline color #67

Closed willgearty closed 1 year ago

willgearty commented 1 year ago

This adds a fill argument/aesthetic that allows users to specify different outline and body colors for silhouettes (in geom_phylopic, add_phylopic, and add_phylopic_base): image

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.

willgearty commented 1 year ago

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.