-
Notifications
You must be signed in to change notification settings - Fork 53
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
Extra white space in gg_miss_upset() output in R notebooks #259
Comments
Hi there, I'm not sure why this is the case - under the hood this calls the UpSetR package, which appears to not be well maintained at the moment, so I may need to look into changing the implementation. Does this produce problems when rendering to HTML/PDF/Word? |
So it may be an R notebook issue. When I preview to HTML (creating a .nb.html file), the space appears. But knitting to HTML does not cause a space. Neither is there a space after knitting to PDF or Word. |
OK that's good to know, bit frustrating about the empty space in the .nb.html file though. Is it only the upset plot that creates the extra space in the .nb.html files, or is it in other types of plot output as well? |
If it's just the upset plot, I'll see if I can take a closer look at what the notebooks are doing and how the upset plot is generated. |
I haven't tried every single plot type, but all the ones I have tried seem
to work okay (no extra whitespace) except the upset plot.
…On Mon, Aug 17, 2020 at 6:00 AM Nicholas Tierney ***@***.***> wrote:
If it's just the upset plot, I'll see if I can take a closer look at what
the notebooks are doing and how the upset plot is generated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#259 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3M3H26X4FKOUS66BOPW6LSBELXVANCNFSM4OKFXFVA>
.
|
I have the exact same problem. Did you manage to find a solution? |
It seems that this is an issue with UpSetR - the best solution I can think of to resolve this is
I'm a bit busy with doing a bunch of small maintenance fixes at the moment so I might consolidate some of the issues with UpSetR and leave it as it is for the time being |
When running
gg_miss_upset()
in an R notebook in RStudio, there is an extra box of output that consists of nothing but white space. In the corresponding HTML file, there is an appreciable length of vertical white space appearing between the code chunk and the upset plot.Reprex:
Version info:
R 4.0.2:
RStudio 1.3.959
Screenshot:
The text was updated successfully, but these errors were encountered: