{"action":"opened","issue":{"url":"https://api.github.com/repos/d3/d3-scale/issues/68","repository_url":"https://api.github.com/repos/d3/d3-scale","labels_url":"https://api.github.com/repos/d3/d3-scale/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/d3/d3-scale/issues/68/comments","events_url":"https://api.github.com/repos/d3/d3-scale/issues/68/events","html_url":"https://github.com/d3/d3-scale/issues/68","id":160496303,"number":68,"title":"d3.interpolateCubehelixDefault doesn't match documentation","user":{"login":"pbeshai","id":793847,"avatar_url":"https://avatars.githubusercontent.com/u/793847?v=3","gravatar_id":"","url":"https://api.github.com/users/pbeshai","html_url":"https://github.com/pbeshai","followers_url":"https://api.github.com/users/pbeshai/followers","following_url":"https://api.github.com/users/pbeshai/following{/other_user}","gists_url":"https://api.github.com/users/pbeshai/gists{/gist_id}","starred_url":"https://api.github.com/users/pbeshai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbeshai/subscriptions","organizations_url":"https://api.github.com/users/pbeshai/orgs","repos_url":"https://api.github.com/users/pbeshai/repos","events_url":"https://api.github.com/users/pbeshai/events{/privacy}","received_events_url":"https://api.github.com/users/pbeshai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-15T18:51:59Z","updated_at":"2016-06-15T18:51:59Z","closed_at":null,"body":"The docs suggest that you can pass it a `t` value directly and get back a color (from README):\r\n\r\n> #### d3.interpolateCubehelixDefault(t)\r\n> Given a number t in the range [0,1], returns the corresponding color from Green’s default Cubehelix represented as an RGB string.\r\n\r\nInstead it returns a function that when called produces the desired behaviour:\r\n![image](https://cloud.githubusercontent.com/assets/793847/16093099/84d295e0-3308-11e6-9ec1-48b090507834.png)\r\n\r\nThe other interpolateFoo functions work as expected."}}
{"actor":{"display_login":"pbeshai"}}