Title: PGF Backend: "Dimension too large" error while processing log-scale plot · Issue #4482 · matplotlib/matplotlib · GitHub
Open Graph Title: PGF Backend: "Dimension too large" error while processing log-scale plot · Issue #4482 · matplotlib/matplotlib
X Title: PGF Backend: "Dimension too large" error while processing log-scale plot · Issue #4482 · matplotlib/matplotlib
Description: The PGF backend of MPL 1.4.3 causes a "Dimension too large" LaTeX error when processing a log-scale plot with a point at zero. The error is [...] ! Dimension too large.
Open Graph Description: The PGF backend of MPL 1.4.3 causes a "Dimension too large" LaTeX error when processing a log-scale plot with a point at zero. The error is [...] ! Dimension too large.
X Description: The PGF backend of MPL 1.4.3 causes a "Dimension too large" LaTeX error when processing a log-scale plot with a point at zero. The error is [...] ! Dimension too large. <to be read aga...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4482
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PGF Backend: \"Dimension too large\" error while processing log-scale plot","articleBody":"The PGF backend of MPL 1.4.3 causes a \"Dimension too large\" LaTeX error when processing a log-scale plot with a point at zero. The error is\n\n```\n[...]\n! Dimension too large.\n\u003cto be read again\u003e \n \\pgf@y \nl.69 ...\\pgfqpoint{-2148537.332542in}{0.600000in}}\n %\nNo pages of output.\nTranscript written on figure.log.\n```\n\nObviously, the _x_ coordinate of the point is way out of bounds. The script triggering the error is\n\n``` python\nimport matplotlib as mpl\nmpl.use('pgf')\nimport matplotlib.pyplot as plt\n\nfig, ax = plt.subplots()\nax.plot([0, 1], [.5, 1])\nax.set_xscale('log')\nfig.savefig('fig.pdf')\n```\n\nAdding `nonposx='mask'` to the call to `set_xscale` prevents the error but produces a plot consisting of only a single point. The PGF version installed is 2.10 but the error also occurs with PGF 3.00.\n","author":{"url":"https://github.com/rwirth","@type":"Person","name":"rwirth"},"datePublished":"2015-05-28T09:34:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":40},"url":"https://github.com/4482/matplotlib/issues/4482"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e25c2b14-db99-991f-f6fa-0d6a47927bda |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A834:3A1626:135E23F:1A2F734:6A521CC7 |
| html-safe-nonce | db89b5c1832244e9199e4f4a5c8ec922107d9cbc4e7eea67880248fcdd0e7819 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODM0OjNBMTYyNjoxMzVFMjNGOjFBMkY3MzQ6NkE1MjFDQzciLCJ2aXNpdG9yX2lkIjoiNDUyOTczMTgyOTM4NTc5NjgwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d3210df56137b3e1fc56ca528f46e014ae8c646cd3df871a836e2fb03744e449 |
| hovercard-subject-tag | issue:81847602 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/4482/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80d6245f03347e95b48a9013f6b7144381a02bf89f70befbbd102943128fb94b/matplotlib/matplotlib/issues/4482 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80d6245f03347e95b48a9013f6b7144381a02bf89f70befbbd102943128fb94b/matplotlib/matplotlib/issues/4482 |
| og:image:alt | The PGF backend of MPL 1.4.3 causes a "Dimension too large" LaTeX error when processing a log-scale plot with a point at zero. The error is [...] ! Dimension too large. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rwirth |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width