{"action":"closed","issue":{"url":"https://api.github.com/repos/plotly/documentation/issues/901","repository_url":"https://api.github.com/repos/plotly/documentation","labels_url":"https://api.github.com/repos/plotly/documentation/issues/901/labels{/name}","comments_url":"https://api.github.com/repos/plotly/documentation/issues/901/comments","events_url":"https://api.github.com/repos/plotly/documentation/issues/901/events","html_url":"https://github.com/plotly/documentation/issues/901","id":305750976,"number":901,"title":"Plotly.js function signatures","user":{"login":"nicolaskruchten","id":203523,"avatar_url":"https://avatars1.githubusercontent.com/u/203523?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolaskruchten","html_url":"https://github.com/nicolaskruchten","followers_url":"https://api.github.com/users/nicolaskruchten/followers","following_url":"https://api.github.com/users/nicolaskruchten/following{/other_user}","gists_url":"https://api.github.com/users/nicolaskruchten/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaskruchten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaskruchten/subscriptions","organizations_url":"https://api.github.com/users/nicolaskruchten/orgs","repos_url":"https://api.github.com/users/nicolaskruchten/repos","events_url":"https://api.github.com/users/nicolaskruchten/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaskruchten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-15T23:13:48Z","updated_at":"2018-03-19T13:13:39Z","closed_at":"2018-03-19T13:13:39Z","author_association":"MEMBER","body":"This reference page https://plot.ly/javascript/plotlyjs-function-reference/ lists the various functions like `Plotly.newPlot` and friends and has a number of examples, but no clear indication of the signatures of these functions.\r\n\r\nI would expect each function heading to be followed by a list of the call variants, like for `newPlot`:\r\n* `Plotly.newPlot( divRef, data, layout, config )` (where `divRef` is a DOM node *or* a string id)\r\n* `Plotly.newPlot( divRef, obj )` (where `obj` can have `data`, `layout`, `frames`, `config` as keys)\r\n\r\nFormatting-wise, I like the way the jQuery docs work where they list the variants and types etc http://api.jquery.com/attr/\r\n\r\n "}}
{"actor":{"display_login":"nicolaskruchten"}}