-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
pgf backend doesn't work well with very large numbers #1857
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
Comments
@pwuertz : I haven't looked into this in depth, but thought I might provide a pointer: matplotlib does have algorithms to clip paths to a rectangle that may be useful here. See |
Thanks for the hint mdboom! |
@pwuertz thanks for the fix, it seems to work for me. |
backend_pgf: clip paths within the backend (fixes #1857)
When plotting data with very large values (in my use case I have around 10^55), the pgf backend produces files on which latex chokes saying:
From a quick look at the code, it apparrently just sets the clipping rectangle and just passes then numbers through otherwise. I suppose some clipping should happen in the backend itself.
The text was updated successfully, but these errors were encountered: