Skip to content
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

Reflect size aesthetic in key_glyph_phylopic #84

Open
willgearty opened this issue Aug 27, 2023 · 0 comments
Open

Reflect size aesthetic in key_glyph_phylopic #84

willgearty opened this issue Aug 27, 2023 · 0 comments

Comments

@willgearty
Copy link
Collaborator

willgearty commented Aug 27, 2023

The sizes that we specify in geom_phylopic are in y-axis units, but we don't have access to the y-axis object when plotting the legend keys, so we have no idea how to scale the keys properly to match the sizes in the plot (relative sizes will always be correct, but the absolute sizes will be off). I'm not exactly sure how to get around this (we plot the legend key before we draw the panel, so we can't just save the y-axis range in phylopic_env), but I'm making this issue to record that this would be nice to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant