You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new reworked legend spacing will allow the spacing between legend key/label elements to be controlled with guide_legend(key.spacing = ...)
It'd be great if you could allow this to be modified through the theme argument as well.
Otherwise, users cannot incorporate their desired legend key spacing up in a theme function. They have to instead use the guides each time they make a plot to adjust it how they want.
Thanks, and great work with the ggplot2 development!
The text was updated successfully, but these errors were encountered:
Thank that is a good argument. The reason it wasn't done this way is because the key spacing doesn't apply universally to every non-position guide but only to legends, but I can see the merit in setting this in the theme.
davidhodge931
changed the title
legend spacing rework: allow legend key spacing to be controlled through the theme
legend spacing rework: legend.key.spacing argument to be added to theme
Nov 25, 2023
davidhodge931
changed the title
legend spacing rework: legend.key.spacing argument to be added to theme
Feature request: legend.key.spacing argument to be added to theme
Nov 25, 2023
davidhodge931
changed the title
Feature request: legend.key.spacing argument to be added to theme
Feature request: legend.key.spacing argument added to theme
Nov 25, 2023
davidhodge931
changed the title
Feature request: legend.key.spacing argument added to theme
Feature request: legend.key.spacing argument(s) added to themeNov 25, 2023
The new reworked legend spacing will allow the spacing between legend key/label elements to be controlled with
guide_legend(key.spacing = ...)
It'd be great if you could allow this to be modified through the theme argument as well.
Otherwise, users cannot incorporate their desired legend key spacing up in a theme function. They have to instead use the guides each time they make a plot to adjust it how they want.
Thanks, and great work with the ggplot2 development!
The text was updated successfully, but these errors were encountered: