{"action":"created","issue":{"url":"https://api.github.com/repos/odlgroup/odl/issues/278","repository_url":"https://api.github.com/repos/odlgroup/odl","labels_url":"https://api.github.com/repos/odlgroup/odl/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/odlgroup/odl/issues/278/comments","events_url":"https://api.github.com/repos/odlgroup/odl/issues/278/events","html_url":"https://github.com/odlgroup/odl/pull/278","id":133259199,"number":278,"title":"Issue 277  show","user":{"login":"adler-j","id":2202312,"avatar_url":"https://avatars.githubusercontent.com/u/2202312?v=3","gravatar_id":"","url":"https://api.github.com/users/adler-j","html_url":"https://github.com/adler-j","followers_url":"https://api.github.com/users/adler-j/followers","following_url":"https://api.github.com/users/adler-j/following{/other_user}","gists_url":"https://api.github.com/users/adler-j/gists{/gist_id}","starred_url":"https://api.github.com/users/adler-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adler-j/subscriptions","organizations_url":"https://api.github.com/users/adler-j/orgs","repos_url":"https://api.github.com/users/adler-j/repos","events_url":"https://api.github.com/users/adler-j/events{/privacy}","received_events_url":"https://api.github.com/users/adler-j/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/odlgroup/odl/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-12T14:47:16Z","updated_at":"2016-02-15T10:38:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/odlgroup/odl/pulls/278","html_url":"https://github.com/odlgroup/odl/pull/278","diff_url":"https://github.com/odlgroup/odl/pull/278.diff","patch_url":"https://github.com/odlgroup/odl/pull/278.patch"},"body":"Some fixes, now works with (at least)\r\n\r\n- [x] Windows\r\n  - [x] IPython in spyder\r\n  - [x] Python in spyder\r\n  - [x] Python commandline\r\n\r\nPlease verify for other platforms and we can finally merge. The following should be tested:\r\n\r\n* All tests in examples/visualization.\r\n* Some test using ShowPartial, for example `odl-examples/pde_laplacian.py`.\r\n\r\nPing @kohr-h, @moosmann "},"comment":{"url":"https://api.github.com/repos/odlgroup/odl/issues/comments/184160069","html_url":"https://github.com/odlgroup/odl/pull/278#issuecomment-184160069","issue_url":"https://api.github.com/repos/odlgroup/odl/issues/278","id":184160069,"user":{"login":"adler-j","id":2202312,"avatar_url":"https://avatars.githubusercontent.com/u/2202312?v=3","gravatar_id":"","url":"https://api.github.com/users/adler-j","html_url":"https://github.com/adler-j","followers_url":"https://api.github.com/users/adler-j/followers","following_url":"https://api.github.com/users/adler-j/following{/other_user}","gists_url":"https://api.github.com/users/adler-j/gists{/gist_id}","starred_url":"https://api.github.com/users/adler-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adler-j/subscriptions","organizations_url":"https://api.github.com/users/adler-j/orgs","repos_url":"https://api.github.com/users/adler-j/repos","events_url":"https://api.github.com/users/adler-j/events{/privacy}","received_events_url":"https://api.github.com/users/adler-j/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T10:38:22Z","updated_at":"2016-02-15T10:38:22Z","body":"> Add plt.show() at the end of odl-examples/pde_laplacian.py, otherwise the figure window freezes after execution and I have to force quit.\r\n\r\nWill do.\r\n\r\n> Using spyder with ipython and inline plotting, all examples which use figure updates (odl-examples/pde_laplacian.py, show_update_*d.py) create an extra inline image in each iteration. Plotting into the same figure doesn't work in show_1d.py. Instead of that three single images are created inline. Not using inline plotting, the examples work normally.\r\n\r\nDo you mean that a new image is created with the next iterate, or that the old image is updated and an empty new image is created? What three images are shown in the 1d case? How is the 1d case different from the 2d case?\r\n\r\n> Using PyCharm or ipython/python command line, examples with show=True (or plt.show()) block code execution until the figure window is close unless I'm using plt.ion() or show=False with plt.show(block=False) or Spyder with ipython and inline off.\r\n\r\nThis is the expected behaviour of matplotlib, so that will stay.\r\n\r\n> Except that, all examples in examples/visualization and odl-examples/pde_laplacian.py are working on my machine (Ubuntu 14.04) when using\r\n\r\n> - PyCharm\r\n> - python command line\r\n> - ipython command line\r\n> - Spyder ipyhton inline off\r\n    \r\nGreat work, thanks!"}}