-
Notifications
You must be signed in to change notification settings - Fork 165
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
when specifying a theme in ggtexttable it no longer accepts any customisation #283
Comments
kassambara
added a commit
that referenced
this issue
Jun 6, 2020
kassambara
added a commit
that referenced
this issue
Jun 8, 2020
Bug fixed now, thanks! suppressPackageStartupMessages(library("ggpubr"))
ggtexttable(
head(iris), rows = NULL,
theme = ttheme("minimal", padding = unit(c(4, 4), "mm"),
tbody.style = tbody_style(fill = "white", size = 7, linecolor = "black"),
colnames.style = colnames_style(fill = "white", size = 10, color = "red")
)
) Created on 2020-06-09 by the reprex package (v0.3.0.9001) |
Dear Alboukadel Kassambara,
Unfortunately, the bug has not been fixed yet. This code:
ggtexttable(
head(iris), rows = NULL,
theme = ttheme("minimal", padding = unit(c(4, 4), "mm"),
tbody.style = tbody_style(fill = "white", size = 7,
linecolor = "black"),
colnames.style = colnames_style(fill = "white", size
= 10, color = "red")
)
)
[image: image.png]
Gives the same output as this:
ggtexttable(
head(iris), rows = NULL,
theme = ttheme("minimal")
)
[image: image.png]
Kind regards,
Wojciech
…On Tue, 9 Jun 2020 at 01:13, Alboukadel KASSAMBARA ***@***.***> wrote:
Closed #283 <#283>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#283 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APW5IZVTF7A7W3NENBP2LD3RVV5BBANCNFSM4NJWL63A>
.
|
Make sure you have installed the latest dev version on github: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When creating a table using ggtexttable and specifying a theme, any further modifications to the table, such as size, colour are ignored. This wouldn't be an issue if there was an easy way to reproduce the themes by writing my own theme, however, I found it impossible to replicate the lines of the "minimal" theme.
ggtexttable(results, rows = NULL, theme = ttheme(padding = unit(c(4, 20), "mm"), tbody.style = tbody_style(fill = "white", size = 7, linecolor = "black"), colnames.style = colnames_style(fill = "white", size = 10, color = "red")))
ggtexttable(results, rows = NULL, theme = ttheme("minimal", padding = unit(c(4, 20), "mm"), tbody.style = tbody_style(fill = "white", size = 7, linecolor = "black"), colnames.style = colnames_style(fill = "white", size = 10, color = "red")))
Regards,
Tom
The text was updated successfully, but these errors were encountered: