{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/122","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/122/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/122/events","html_url":"https://github.com/plotly/plotly.js/issues/122","id":122561609,"number":122,"title":"plotly.js: promise runs too soon (or alternatively: how do I run some javascript only after the plot is rendered?)","user":{"login":"mewalig","id":8260442,"avatar_url":"https://avatars.githubusercontent.com/u/8260442?v=3","gravatar_id":"","url":"https://api.github.com/users/mewalig","html_url":"https://github.com/mewalig","followers_url":"https://api.github.com/users/mewalig/followers","following_url":"https://api.github.com/users/mewalig/following{/other_user}","gists_url":"https://api.github.com/users/mewalig/gists{/gist_id}","starred_url":"https://api.github.com/users/mewalig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mewalig/subscriptions","organizations_url":"https://api.github.com/users/mewalig/orgs","repos_url":"https://api.github.com/users/mewalig/repos","events_url":"https://api.github.com/users/mewalig/events{/privacy}","received_events_url":"https://api.github.com/users/mewalig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-16T17:34:04Z","updated_at":"2015-12-16T20:26:40Z","closed_at":null,"body":"Does anyone familiar with the bowels of plotly know the answer to this question which is detailed at http://stackoverflow.com/questions/34315834/plotly-js-how-to-run-my-javascript-only-after-plot-image-is-loaded? \r\n\r\nI am aware that this list is for feature requests and bugs, and as far as I can tell now, it is either a) a bug in the behavior of the promise execution, or b) a feature request asking for an alternative mechanism to run some javascript after the plot renders, or c) just a question about an already-supported feature to which I don't know the correct answer.\r\n\r\nUnfortunately, I don't know if it is a), b), or c) until the question is answered, so in case it is a) or b), I am posting the question here as well.\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/165235123","html_url":"https://github.com/plotly/plotly.js/issues/122#issuecomment-165235123","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/122","id":165235123,"user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T20:26:40Z","updated_at":"2015-12-16T20:26:40Z","body":"This looks like a webgl only problem. Changing the title to reflect this."}}