You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love the output of the great_tables package. I am trying to create a PDF that has multiple tables with differing column numbers and widths. I'm having a difficult time "saving" the table image to then re-combine into a larger PDF. I can save the image, but it generally looks completely different or has a large amount of white space surrounding it.
I've added an image that shows the white space issue when I don't specify parameters as well as another image that shows how I can't control the column stretching at issues with displaying percentages when I do specify parameters as such:
tab_GT.save(
file="test_GT.png",
selector='table',
scale=1.0,
expand=5,
web_driver='chrome',
window_size=(20, 10),
debug_port=None,
_debug_dump=None,
)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I love the output of the great_tables package. I am trying to create a PDF that has multiple tables with differing column numbers and widths. I'm having a difficult time "saving" the table image to then re-combine into a larger PDF. I can save the image, but it generally looks completely different or has a large amount of white space surrounding it.
I've added an image that shows the white space issue when I don't specify parameters as well as another image that shows how I can't control the column stretching at issues with displaying percentages when I do specify parameters as such:

tab_GT.save(
file="test_GT.png",
selector='table',
scale=1.0,
expand=5,
web_driver='chrome',
window_size=(20, 10),
debug_port=None,
_debug_dump=None,
)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions