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

title is too long when use include.histogram=TRUE #113

Open
yuliaUU opened this issue Jun 2, 2020 · 2 comments
Open

title is too long when use include.histogram=TRUE #113

yuliaUU opened this issue Jun 2, 2020 · 2 comments

Comments

@yuliaUU
Copy link

yuliaUU commented Jun 2, 2020

Hi,

I wonder whether there is an option to avoid plotting title for histograms with valid and missing data.

Thank you in advance
image

@aggiebrickyard
Copy link

Would you mind sharing the code you used for this? I've been having an issue getting any title to print whenever I use include.histogram=TRUE.

plot(l29) + ggtitle(title)
Prints a plot with a title with no problem, but
plot(l29, include.histogram=TRUE) + ggtitle(title)
returns
Error in plot(l29, include.histogram = TRUE) + ggtitle(title) : non-numeric argument to binary operator

It seems like there's an issue between titles and faceting, but you're clearly having more luck getting titles to print. Did you alter the code from the demo to get these titles on your plot?

@yuliaUU
Copy link
Author

yuliaUU commented Jan 29, 2021

it is teh same as demo code here

where names(items24) I just gave a long title that also has a break \n

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