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
documentation: values list for legend.box.just appears incomplete #4196
Labels
Comments
The value of Line 277 in a11e098
So you can set legend.box.just to whatever values valid.just() understands. Unfortunately that function isn't well documented either. The documentation literally says e.g., "left" becomes 0, "right" becomes 1, etc, ... .
The value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current documentation for
theme()
stateslegend.box.just justification of each legend within the overall bounding box, when there are multiple legends ("top", "bottom", "left", or "right")
I happened to need
theme(legend.box.just = "center")
so I tried it anyway and found it behaved as expected when centering two legends (an alpha legend and a merged color plus linetype legend) within a bottom legend box.So life is good. But it would be useful to know if this just signals the documentation is a bit out of date or if I'm relying on a behavior that's formally unsupported.
Version; ggplot 3.3.2
The text was updated successfully, but these errors were encountered: