{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7014","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7014/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7014/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7014/events","html_url":"https://github.com/matplotlib/matplotlib/issues/7014","id":174439946,"number":7014,"title":"matplotlib works well in ipython note book but can't display in a terminal running","user":{"login":"pipipopo","id":3747677,"avatar_url":"https://avatars.githubusercontent.com/u/3747677?v=3","gravatar_id":"","url":"https://api.github.com/users/pipipopo","html_url":"https://github.com/pipipopo","followers_url":"https://api.github.com/users/pipipopo/followers","following_url":"https://api.github.com/users/pipipopo/following{/other_user}","gists_url":"https://api.github.com/users/pipipopo/gists{/gist_id}","starred_url":"https://api.github.com/users/pipipopo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipipopo/subscriptions","organizations_url":"https://api.github.com/users/pipipopo/orgs","repos_url":"https://api.github.com/users/pipipopo/repos","events_url":"https://api.github.com/users/pipipopo/events{/privacy}","received_events_url":"https://api.github.com/users/pipipopo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T05:31:27Z","updated_at":"2016-09-01T06:20:48Z","closed_at":null,"body":"I have installed matplotlib 1.5.1 on my ubuntu 14.04 system from source. The problem is whether I use qt4agg or other aggs, pyplot doesn't work when I run a python script in a terminal. It just doesn't display. But when running on jupyter notebook it works well. How can I fix the problem?"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/243986702","html_url":"https://github.com/matplotlib/matplotlib/issues/7014#issuecomment-243986702","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7014","id":243986702,"user":{"login":"jenshnielsen","id":548266,"avatar_url":"https://avatars.githubusercontent.com/u/548266?v=3","gravatar_id":"","url":"https://api.github.com/users/jenshnielsen","html_url":"https://github.com/jenshnielsen","followers_url":"https://api.github.com/users/jenshnielsen/followers","following_url":"https://api.github.com/users/jenshnielsen/following{/other_user}","gists_url":"https://api.github.com/users/jenshnielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jenshnielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenshnielsen/subscriptions","organizations_url":"https://api.github.com/users/jenshnielsen/orgs","repos_url":"https://api.github.com/users/jenshnielsen/repos","events_url":"https://api.github.com/users/jenshnielsen/events{/privacy}","received_events_url":"https://api.github.com/users/jenshnielsen/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T06:20:48Z","updated_at":"2016-09-01T06:20:48Z","body":"Can you show a simple example. Does your script call show? If you are running matplotlib non interactively as in a script you need to explicitly call show.\r\n\r\n\r\nimport matplotlib.pyplot as plt\r\nplt.plot(range(10))\r\nplt.show()\r\n"}}
{"actor":{"display_login":"jenshnielsen"}}