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

theme: left margin doesn't work for the plot_title parameter #1101

Closed
ASmirnov-HORIS opened this issue May 13, 2024 · 1 comment
Closed

theme: left margin doesn't work for the plot_title parameter #1101

ASmirnov-HORIS opened this issue May 13, 2024 · 1 comment
Assignees

Comments

@ASmirnov-HORIS
Copy link
Collaborator

Example:

ggplot() + geom_point(x=0) + ggtitle("Title") + theme(plot_title=element_text(margin=[5, 100]))

Output:

Expected:

@OLarionova-HORIS
Copy link
Contributor

Fixed ignoring of horizontal margins for plot title/subtitle/caption.
The image below shows the bounding boxes (in light blue) after the margins have been applied:

Screenshot 2024-05-14 at 13 03 32

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

No branches or pull requests

2 participants