{"action":"created","issue":{"url":"https://api.github.com/repos/lstagner/idl_kernel/issues/3","labels_url":"https://api.github.com/repos/lstagner/idl_kernel/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/lstagner/idl_kernel/issues/3/comments","events_url":"https://api.github.com/repos/lstagner/idl_kernel/issues/3/events","html_url":"https://github.com/lstagner/idl_kernel/pull/3","id":92365724,"number":3,"title":"IDL 8 plotting wrappers","user":{"login":"eddedmondson","id":8959546,"avatar_url":"https://avatars.githubusercontent.com/u/8959546?v=3","gravatar_id":"","url":"https://api.github.com/users/eddedmondson","html_url":"https://github.com/eddedmondson","followers_url":"https://api.github.com/users/eddedmondson/followers","following_url":"https://api.github.com/users/eddedmondson/following{/other_user}","gists_url":"https://api.github.com/users/eddedmondson/gists{/gist_id}","starred_url":"https://api.github.com/users/eddedmondson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddedmondson/subscriptions","organizations_url":"https://api.github.com/users/eddedmondson/orgs","repos_url":"https://api.github.com/users/eddedmondson/repos","events_url":"https://api.github.com/users/eddedmondson/events{/privacy}","received_events_url":"https://api.github.com/users/eddedmondson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-01T12:07:28Z","updated_at":"2015-07-04T17:54:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lstagner/idl_kernel/pulls/3","html_url":"https://github.com/lstagner/idl_kernel/pull/3","diff_url":"https://github.com/lstagner/idl_kernel/pull/3.diff","patch_url":"https://github.com/lstagner/idl_kernel/pull/3.patch"},"body":"I've implemented wrappers for IDL 8 plot functions. They are a set of IDL .pro files with a j prefix (for Jupyter) to the relevant function name. They enable non-windowed mode, and add the resulting plot object to an array pointed to by a system variable in the kernel. This array is cycled through in the kernel postprocessor and each is written out to an appropriate png file.\r\n\r\nSome consideration might be necessary in how to best package the .pro files - should they be bundled in to the kernel install location, and an appropriate change to IDL's !PATH made by the kernel? For now I'm just leaving them as present here but not explicitly incorporated.\r\n\r\nI'm also maintaining a separate fork for Mac compatibility. This is mostly not included, but the 'device,retain=2' is needed on a Mac and I believe should be harmless on other systems at worst?\r\n"},"comment":{"url":"https://api.github.com/repos/lstagner/idl_kernel/issues/comments/118537495","html_url":"https://github.com/lstagner/idl_kernel/pull/3#issuecomment-118537495","issue_url":"https://api.github.com/repos/lstagner/idl_kernel/issues/3","id":118537495,"user":{"login":"mgalloy","id":713524,"avatar_url":"https://avatars.githubusercontent.com/u/713524?v=3","gravatar_id":"","url":"https://api.github.com/users/mgalloy","html_url":"https://github.com/mgalloy","followers_url":"https://api.github.com/users/mgalloy/followers","following_url":"https://api.github.com/users/mgalloy/following{/other_user}","gists_url":"https://api.github.com/users/mgalloy/gists{/gist_id}","starred_url":"https://api.github.com/users/mgalloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgalloy/subscriptions","organizations_url":"https://api.github.com/users/mgalloy/orgs","repos_url":"https://api.github.com/users/mgalloy/repos","events_url":"https://api.github.com/users/mgalloy/events{/privacy}","received_events_url":"https://api.github.com/users/mgalloy/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T17:54:11Z","updated_at":"2015-07-04T17:54:11Z","body":"I'm not sure about the custom graphics device. There is stuff about it in idl_export.h, but I don't see any explanation in the EDG, so I'm not sure how that would work — I've never done anything with it.\r\n\r\nBut, in any case, I've seen some public demos of integration of Python and IDL in IDL 8.5. There will be bridges both ways and official Jupyter support. I think IDL 8.5. is tentatively scheduled for this fall."}}