{"action":"created","issue":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/2691","repository_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/2691/labels{/name}","comments_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/2691/comments","events_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/2691/events","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/2691","id":353002568,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMTcwOTYw","number":2691,"title":"Python visualizers as jupyter widgets","user":{"login":"codingS3b","id":31093529,"node_id":"MDQ6VXNlcjMxMDkzNTI5","avatar_url":"https://avatars1.githubusercontent.com/u/31093529?v=4","gravatar_id":"","url":"https://api.github.com/users/codingS3b","html_url":"https://github.com/codingS3b","followers_url":"https://api.github.com/users/codingS3b/followers","following_url":"https://api.github.com/users/codingS3b/following{/other_user}","gists_url":"https://api.github.com/users/codingS3b/gists{/gist_id}","starred_url":"https://api.github.com/users/codingS3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingS3b/subscriptions","organizations_url":"https://api.github.com/users/codingS3b/orgs","repos_url":"https://api.github.com/users/codingS3b/repos","events_url":"https://api.github.com/users/codingS3b/events{/privacy}","received_events_url":"https://api.github.com/users/codingS3b/received_events","type":"User","site_admin":false},"labels":[{"id":50988421,"node_id":"MDU6TGFiZWw1MDk4ODQyMQ==","url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/labels/component:%20tools","name":"component: tools","color":"009800","default":false}],"state":"open","locked":false,"assignee":{"login":"ax3l","id":1353258,"node_id":"MDQ6VXNlcjEzNTMyNTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1353258?v=4","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false},"assignees":[{"login":"ax3l","id":1353258,"node_id":"MDQ6VXNlcjEzNTMyNTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1353258?v=4","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/milestones/11","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/milestone/11","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/milestones/11/labels","id":3491301,"node_id":"MDk6TWlsZXN0b25lMzQ5MTMwMQ==","number":11,"title":"0.5.0 / 1.0.0: Next Stable","description":"","creator":{"login":"ax3l","id":1353258,"node_id":"MDQ6VXNlcjEzNTMyNTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1353258?v=4","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":2,"state":"open","created_at":"2018-07-12T12:57:37Z","updated_at":"2018-09-06T11:13:29Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2018-08-22T15:18:49Z","updated_at":"2018-09-21T14:31:18Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/pulls/2691","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/2691","diff_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/2691.diff","patch_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/2691.patch"},"body":"This PR provides another wrapping layer around the plot_mpl visualizer classes that makes them regular jupyter widgets. \r\nThe advantage here is that all the additional visualization options can be exposed via dropdowns, radio buttons or something like this.\r\n\r\nNote: The axis is passed in the constructor, which is atm not done in the plot_mpl widgets but which will be put in another PR.\r\n\r\nIn a jupyter notebook, simply write the following\r\n```python\r\nimport matplotlib.pyplot as plt\r\n\r\nfrom IPython.display import display\r\nfrom picongpu.plugins.jupyter_widgets.phase_space_visualizer import Visualizer\r\n\r\nfig, ax = plt.subplots(1, 1)\r\nrun_dir = \"path/to/simulation/run\"\r\n\r\nvis = Visualizer(run_dir, ax)\r\ndisplay(vis)\r\n\r\n# the iteration has to be set manually at the moment\r\nvis.iteration = 2000\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/comments/423552098","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/2691#issuecomment-423552098","issue_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/2691","id":423552098,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzU1MjA5OA==","user":{"login":"codingS3b","id":31093529,"node_id":"MDQ6VXNlcjMxMDkzNTI5","avatar_url":"https://avatars1.githubusercontent.com/u/31093529?v=4","gravatar_id":"","url":"https://api.github.com/users/codingS3b","html_url":"https://github.com/codingS3b","followers_url":"https://api.github.com/users/codingS3b/followers","following_url":"https://api.github.com/users/codingS3b/following{/other_user}","gists_url":"https://api.github.com/users/codingS3b/gists{/gist_id}","starred_url":"https://api.github.com/users/codingS3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingS3b/subscriptions","organizations_url":"https://api.github.com/users/codingS3b/orgs","repos_url":"https://api.github.com/users/codingS3b/repos","events_url":"https://api.github.com/users/codingS3b/events{/privacy}","received_events_url":"https://api.github.com/users/codingS3b/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T14:31:18Z","updated_at":"2018-09-21T14:31:18Z","author_association":"NONE","body":"there are still some things I would like to change in the classes (especially how they deal with the matplotlib figure which will now be a widget itself) but did not have time to do that (as I wrote, I can only deal with that in the first week of october, sorry!)"}}
{"actor":{"display_login":"codingS3b"}}