Title: plt.annotate(): segmentation fault when coordinates are too high · Issue #6984 · matplotlib/matplotlib · GitHub
Open Graph Title: plt.annotate(): segmentation fault when coordinates are too high · Issue #6984 · matplotlib/matplotlib
X Title: plt.annotate(): segmentation fault when coordinates are too high · Issue #6984 · matplotlib/matplotlib
Description: Matplotlib version 1.5.1-1ubuntu1, Python version2.7.12, Platform Ubuntu 16.04 x64 I installed Matplotlib and Python from apt repository Example: #!/usr/bin/env python import matplotlib.pyplot as plt plt.annotate('blah', xy = (1e6, 1), x...
Open Graph Description: Matplotlib version 1.5.1-1ubuntu1, Python version2.7.12, Platform Ubuntu 16.04 x64 I installed Matplotlib and Python from apt repository Example: #!/usr/bin/env python import matplotlib.pyplot as p...
X Description: Matplotlib version 1.5.1-1ubuntu1, Python version2.7.12, Platform Ubuntu 16.04 x64 I installed Matplotlib and Python from apt repository Example: #!/usr/bin/env python import matplotlib.pyplot as p...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6984
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"plt.annotate(): segmentation fault when coordinates are too high","articleBody":"- [x] Matplotlib version 1.5.1-1ubuntu1, Python version2.7.12, Platform Ubuntu 16.04 x64\n- [x] I installed Matplotlib and Python from apt repository\n- [x] Example:\n\n```\n#!/usr/bin/env python\nimport matplotlib.pyplot as plt\nplt.annotate('blah', xy = (1e6, 1), xycoords ='data') ## 1e6 or more causes the crash.\n#plt.xlim((0, 2e12)) ## does not help\nplt.savefig(\"output.png\", bbox_inches='tight')\n```\n\nReturns:\n\n```\nfilip@comp:/tmp/$ python a.py \nSegmentation fault (core dumped)\n```\n\nA workaround is to establish the plot limits before the use the plt.annotate(), and call the command conditionally only if it fits into the view. But this surely is not the way Matplotlib should work (and localizing this source of crashes also took quite a long time, since the corresponding code was embedded in a 2000-line simulation script that worked until today).\n","author":{"url":"https://github.com/FilipDominec","@type":"Person","name":"FilipDominec"},"datePublished":"2016-08-26T15:28:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/6984/matplotlib/issues/6984"}
| 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:1b5307a3-77d4-09c3-3d05-1638d0b70083 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D80C:336B47:4775E5A:6207FB4:698CD53B |
| html-safe-nonce | 4f622dedf1f852985234d2232ae775130d1fb722295269e31b194e9cb9689ef0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODBDOjMzNkI0Nzo0Nzc1RTVBOjYyMDdGQjQ6Njk4Q0Q1M0IiLCJ2aXNpdG9yX2lkIjoiNjAyNDIxNjM1MDU2NTM4OTYyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ba441b79850c17cb66530718829bb10c978dab369eb72988d20c12810223a52 |
| hovercard-subject-tag | issue:173480232 |
| 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/6984/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2aaa94e06284e6d1d0b17a15a8a14823afe02284fc22e9ef7ca7d57a51bb0029/matplotlib/matplotlib/issues/6984 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2aaa94e06284e6d1d0b17a15a8a14823afe02284fc22e9ef7ca7d57a51bb0029/matplotlib/matplotlib/issues/6984 |
| og:image:alt | Matplotlib version 1.5.1-1ubuntu1, Python version2.7.12, Platform Ubuntu 16.04 x64 I installed Matplotlib and Python from apt repository Example: #!/usr/bin/env python import matplotlib.pyplot as p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FilipDominec |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| 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 | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width