palaeoverse / rphylopic

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

Add preview argument #63

Closed LewisAJones closed 1 year ago

LewisAJones commented 1 year ago

This PR adds a preview argument to get_phylopic.

Currently, I've implemented this using add_phylopic_base. I don't see why we need to repeat a bunch of code for handling different formats when we already have it here. What do you think?

Closes #59.

LewisAJones commented 1 year ago

Looks good to me! Thanks for the fix! I don't see why we need the extra standalone preview function as this would be presumably be using get_phylopic anyway?