Title: matplotlib crashes on OS X when saving to JPEG and then displaying the plot · Issue #4194 · matplotlib/matplotlib · GitHub
Open Graph Title: matplotlib crashes on OS X when saving to JPEG and then displaying the plot · Issue #4194 · matplotlib/matplotlib
X Title: matplotlib crashes on OS X when saving to JPEG and then displaying the plot · Issue #4194 · matplotlib/matplotlib
Description: Here is the minimal code to produce the crash on OS X Yosemite, with Python 2.7.9 compiled by homebrew. # -*- coding: utf-8 -*- import numpy import matplotlib.pyplot as plt plt.plot(numpy.linspace(0, 1, 1000), numpy.random.randn(1000)) p...
Open Graph Description: Here is the minimal code to produce the crash on OS X Yosemite, with Python 2.7.9 compiled by homebrew. # -*- coding: utf-8 -*- import numpy import matplotlib.pyplot as plt plt.plot(numpy.linspace(...
X Description: Here is the minimal code to produce the crash on OS X Yosemite, with Python 2.7.9 compiled by homebrew. # -*- coding: utf-8 -*- import numpy import matplotlib.pyplot as plt plt.plot(numpy.linspace(...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4194
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"matplotlib crashes on OS X when saving to JPEG and then displaying the plot","articleBody":"Here is the minimal code to produce the crash on OS X Yosemite, with Python 2.7.9 compiled by homebrew.\n\n``` python\n# -*- coding: utf-8 -*-\nimport numpy\nimport matplotlib.pyplot as plt\nplt.plot(numpy.linspace(0, 1, 1000), numpy.random.randn(1000))\nplt.savefig('test.jpg')\nplt.show()\n```\n\nThe error message is\n\n```\nAssertion failed: (s-\u003estack-\u003enext != NULL), function CGGStackRestore, file Context/CGGStack.c, line 77.\n```\n\nThe crash does not happen if the `savefig` and `show` call are swapped, or when saving to `png`/`pdf`/`svg` file. It only happens when `pyplot` is called in this sequence, and when the format is `jpg`.\n","author":{"url":"https://github.com/netheril96","@type":"Person","name":"netheril96"},"datePublished":"2015-03-05T13:01:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/4194/matplotlib/issues/4194"}
| 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:7e71a697-4a40-f8a6-7164-ec8c22cb4c0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81D8:171DD4:14F0576:1BEC610:6A52AC07 |
| html-safe-nonce | dc6c0cc3bc5a5c23310569de41c793b21e103dc90a21d29cac186e6939e058bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUQ4OjE3MURENDoxNEYwNTc2OjFCRUM2MTA6NkE1MkFDMDciLCJ2aXNpdG9yX2lkIjoiMTExMjEwMTA5NjcwMTczNzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cb026ac8d8c5fa91747e80ab9bc3b95743d6d25969450fc78d05a2c2c55385c7 |
| hovercard-subject-tag | issue:59948484 |
| 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/4194/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5674b1d6b9981eaa117d434f7187129aa7592b687f35169f85e53d7a6b6ec28a/matplotlib/matplotlib/issues/4194 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5674b1d6b9981eaa117d434f7187129aa7592b687f35169f85e53d7a6b6ec28a/matplotlib/matplotlib/issues/4194 |
| og:image:alt | Here is the minimal code to produce the crash on OS X Yosemite, with Python 2.7.9 compiled by homebrew. # -*- coding: utf-8 -*- import numpy import matplotlib.pyplot as plt plt.plot(numpy.linspace(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | netheril96 |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width