Skip to content
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

GT.save cuts off output #480

Open
lwanger opened this issue Oct 2, 2024 · 1 comment
Open

GT.save cuts off output #480

lwanger opened this issue Oct 2, 2024 · 1 comment

Comments

@lwanger
Copy link

lwanger commented Oct 2, 2024

Description

Bottom row of my table is cut-off in the output using GT.save. Same result with both pdf and png output files.

Reproducible example

from pathlib import Path
import pandas as pd

data = {'A': [1,2,3], 'B': ['foo', 'bar', 'baz'], }
df = pd.DataFrame(data)
tbl = (gt.GT(df))

out_file = str(Path("table_export.pdf"))
tbl.save(file=out_file, web_driver='edge')

Expected result

Bottom row should be shown in full.

Development environment

  • Operating System: Windows
  • great_tables Version: 0.10

table_export.pdf

Image

Additional context

Add any other context about the problem here.

@HansMellman
Copy link

I've had this happen countless times, only anecdotal solution was to ensure that I wasn't throttling my internet connection with anything else at the same time - it was almost like the image was unable to render entirely before the screenshot was taken. I'm speaking as a layperson though because I have no idea if that's actually likely to affect the process or not - just my experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants