{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/94","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/94/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/94/events","html_url":"https://github.com/spyder-ide/spyder/issues/94","id":57863135,"number":94,"title":"matplotlib 0.99 with PyQt4 v4.6 bug: underlying C/C++ object has been deleted","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/2%E2%80%935%20stars","name":"2–5 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-16T23:20:25Z","updated_at":"2015-02-16T23:20:28Z","closed_at":null,"body":"_From [b.ber...@gmail.com](https://code.google.com/u/112339487763423702333/) on 2009-10-22T03:19:11Z_\n\nCiao,\r\n\r\nI've this problem, for the last version of spyder running on Win XP /\r\nPython 2.6 and with the last PyQt freshly installed on.\r\n\r\nTo get the \"bug\", I create a test file like this:\r\n\r\n\\#####################\r\nfrom numpy import *\r\nfrom pylab import *\r\n\r\nt=linspace(0,1,100)\r\n\r\nplot(t)\r\nshow()\r\n\\#####################\r\n\r\nThen, I run it using the shortcut that runs: \r\nexecfile(u'C:\\\\[...]\\\\test.py') \r\n\r\nThe first time I run the script, a figure window normally opens.\r\nBut, without changing anything else, I use again the same command:\r\nexecfile(u'C:\\\\[...]\\\\test.py')\r\n\r\nThis time I get the following error:\r\n\r\n\\################################## \r\nTraceback (most recent call last):\r\n  File \"C:\\Python26\\lib\\site-packages\\matplotlib\\backends\\backend_qt4.py\",\r\nline 205, in idle_draw\r\n    self.draw()\r\n  File\r\n\"C:\\Python26\\lib\\site-packages\\matplotlib\\backends\\backend_qt4agg.py\", line\r\n131, in draw\r\n    self.update()\r\nRuntimeError: underlying C/C++ object has been deleted\r\nTraceback (most recent call last):\r\n  File \"C:\\[...]\\test.py\", line 9, in \\<module>\r\n    show()\r\n  File \"C:\\Python26\\lib\\site-packages\\matplotlib\\backends\\backend_qt4.py\",\r\nline 63, in show\r\n    manager.window.show()\r\nRuntimeError: underlying C/C++ object has been deleted\r\n\\#####################################\r\n\r\nDo I forget something in particular or is it a bug?\r\nNotice that on another computer with python(x,y) installed, and the last\r\nrelease of spyder, I did not get the bug. On the current installation, I\r\ndon't have python(x,y) installed.\r\n\r\n\r\nBest regards,\r\nBy the way, congratulations for this great work.\r\n\r\n\r\nBastien.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=94_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74588296","html_url":"https://github.com/spyder-ide/spyder/issues/94#issuecomment-74588296","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/94","id":74588296,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T23:20:28Z","updated_at":"2015-02-16T23:20:28Z","body":"_From [pierre.raybaut](https://code.google.com/u/pierre.raybaut/) on 2009-11-04T14:32:36Z_\n\nFixed in mercurial repository: https://code.google.com/p/spyderlib/source/detail?r=640cc0ac2a53b241a3cb12fff3dc1f2d52183c91\n\n**Status:** Fixed  \n"}}