{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5159","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5159/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5159/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5159/events","html_url":"https://github.com/matplotlib/matplotlib/issues/5159","id":109096859,"number":5159,"title":"plt.plot(...) makes python repl in cmd slow","user":{"login":"JanSchulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/JanSchulz","html_url":"https://github.com/JanSchulz","followers_url":"https://api.github.com/users/JanSchulz/followers","following_url":"https://api.github.com/users/JanSchulz/following{/other_user}","gists_url":"https://api.github.com/users/JanSchulz/gists{/gist_id}","starred_url":"https://api.github.com/users/JanSchulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanSchulz/subscriptions","organizations_url":"https://api.github.com/users/JanSchulz/orgs","repos_url":"https://api.github.com/users/JanSchulz/repos","events_url":"https://api.github.com/users/JanSchulz/events{/privacy}","received_events_url":"https://api.github.com/users/JanSchulz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-09-30T14:00:40Z","updated_at":"2015-10-04T15:40:26Z","closed_at":null,"body":"When producing a small plot in the console, the console becomes very sluggish afterwards:\r\n\r\n```\r\nλ python\r\nPython 2.7.10 |Continuum Analytics, Inc.| (default, Sep 15 2015, 14:26:14) [MSC v.1500 64 bit (AMD64)] on win32\r\n\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\nAnaconda is brought to you by Continuum Analytics.\r\nPlease check out: http://continuum.io/thanks and https://anaconda.org\r\n>>> import matplotlib.pyplot as plt\r\n>>> plt.plot([1,2,3], marker=\"o\")\r\n[<matplotlib.lines.Line2D object at 0x0000000008DB60B8>]\r\n\r\n# from here on it's sluggish until I exit -> typing shows the next character\r\n# with a noteable delay and c&p is kind of \"typing\" the text instead of \r\n# almost instantly there\r\n\r\n>>> plt.show()\r\n```\r\n\r\nThis a clean new conda env py2.7 (`conda create -n mew_test python matplotlib seaborn ipython`) on windows7, 64bit. I also have cmder installed, but it also happens in the default cmd console"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/145359218","html_url":"https://github.com/matplotlib/matplotlib/issues/5159#issuecomment-145359218","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/5159","id":145359218,"user":{"login":"Tillsten","id":189880,"avatar_url":"https://avatars.githubusercontent.com/u/189880?v=3","gravatar_id":"","url":"https://api.github.com/users/Tillsten","html_url":"https://github.com/Tillsten","followers_url":"https://api.github.com/users/Tillsten/followers","following_url":"https://api.github.com/users/Tillsten/following{/other_user}","gists_url":"https://api.github.com/users/Tillsten/gists{/gist_id}","starred_url":"https://api.github.com/users/Tillsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tillsten/subscriptions","organizations_url":"https://api.github.com/users/Tillsten/orgs","repos_url":"https://api.github.com/users/Tillsten/repos","events_url":"https://api.github.com/users/Tillsten/events{/privacy}","received_events_url":"https://api.github.com/users/Tillsten/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T15:40:26Z","updated_at":"2015-10-04T15:40:26Z","body":"I personally would be fine with calling `QtCore.pyqtRemoveInputHook()` and emitting a warning that the inputhook has been removed. Of course only under windows if the problem is only there."}}