-
Notifications
You must be signed in to change notification settings - Fork 84
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
stamp_ doesn't produce sidebar as in examples #143
Comments
In some circumstances, the line gets clipped, but it is not clear to me when. I experienced the behavior you describe at some point and then I moved the line a little to the left and that fixed it (see example). library(ggplot2)
library(cowplot)
#>
#> ********************************************************
#> Note: As of version 1.0.0, cowplot does not change the
#> default ggplot2 theme anymore. To recover the previous
#> behavior, execute:
#> theme_set(theme_cowplot())
#> ********************************************************
p <- ggplot(iris, aes(x = Sepal.Length, y = Sepal.Width)) +
geom_point(aes(color = factor(Petal.Width)))
stamp_bad(p + guides(color = "none")) Created on 2019-08-09 by the reprex package (v0.3.0) Could you let me know what graphics device and operating system you're using? Also, as a workaround, you can just copy the Line 35 in 597b3ea
Instead of |
Windows 10; RStudio tells me it's the null device - how would I go about checking further than that? Thanks for the workaround, by the way! |
Yeah, so different graphics devices seem to have different sensitivity to where they start clipping. It's frustrating. Maybe I'll make the position configurable. |
Brief description of the problem or desired feature.
Using
stamp()
and its variants don't produce the characteristic bar on the right hand side of the plot as in the examples. The examples also seem to reflect old behavior wheretheme_cowplot()
would be set as the default theme.To reproduce, run the code from the online examples:
The text was updated successfully, but these errors were encountered: