palaeoverse / rphylopic

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

geom_phylopic requires image to be in a list #75

Closed willgearty closed 1 year ago

willgearty commented 1 year ago

Right now, if you try to use geom_phylopic() with a single image, you need to wrap that image in a list(). We should resolve this by doing the wrapping ourselves if necessary if an individual Picture or array image is passed to the function.