-
Notifications
You must be signed in to change notification settings - Fork 163
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
Possible regression: invalid 'layout.pos.row' #132
Comments
Can you share the code used to generate the plot? Somehow the structure of the plot doesn't conform with the expectations... |
Absolutely. I attach the data, plot_data.zip which is an
The issue seems to be general for many (all?)
i.e., without |
weirdly this is an issue with the bayesplot theme... plot1 + plot1 & theme_gray() works |
Confirmed! This is good enough for me to get on. I considered making some changes to that theme anyway, so this is a good excuse. |
I've identified this to be due to |
Great. For future googlers, this is a simple fix/workaround for now:
|
Fix thomasp85#132 Gap between axis and strip whith strip.placement = 'outside'…
Googling for |
I am using patchwork to arrange
bayesplot
plots. I'm attaching one such plot, plot1.zip, which is afacet_wrap
'ed plot usingncol = 1
. Useload("plot1.RData")
to load it.In the "old"
patchwork
GitHub version (unsure how old, unfortunately, but between two months and a year), this would make two columns as expected:However, with the CRAN version 1.0.0, it yields the following error:
I'm just including one plot here, but the issue exists with different
bayesplot
plots as well.patchwork
1.0.0 works just fine with "home-made" faceted plots, so it's possible that this isbayesplot
not conforming to standards. Thegrid
package seems to be the origin of thelayout.pos.row
variable.I don't know if it's of any use, but the following does not raise an error for
nrow >= 2
. Unfortunately, the resulting plot is "stacked" and the y-axis is inverted:The text was updated successfully, but these errors were encountered: