{"action":"closed","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3496","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3496/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3496/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3496/events","html_url":"https://github.com/bokeh/bokeh/issues/3496","id":124553152,"number":3496,"title":"Charts API documentation examples broken + documentation doesn't match function signatures","user":{"login":"williamjshipman","id":9513600,"avatar_url":"https://avatars3.githubusercontent.com/u/9513600?v=3","gravatar_id":"","url":"https://api.github.com/users/williamjshipman","html_url":"https://github.com/williamjshipman","followers_url":"https://api.github.com/users/williamjshipman/followers","following_url":"https://api.github.com/users/williamjshipman/following{/other_user}","gists_url":"https://api.github.com/users/williamjshipman/gists{/gist_id}","starred_url":"https://api.github.com/users/williamjshipman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamjshipman/subscriptions","organizations_url":"https://api.github.com/users/williamjshipman/orgs","repos_url":"https://api.github.com/users/williamjshipman/repos","events_url":"https://api.github.com/users/williamjshipman/events{/privacy}","received_events_url":"https://api.github.com/users/williamjshipman/received_events","type":"User","site_admin":false},"labels":[{"id":75236196,"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20component:%20docs","name":"tag: component: docs","color":"D0CBB8","default":false},{"id":2031795,"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20bug","name":"type: bug","color":"C02942","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/11","html_url":"https://github.com/bokeh/bokeh/milestone/11","labels_url":"https://api.github.com/repos/bokeh/bokeh/milestones/11/labels","id":811343,"number":11,"title":"short-term","description":"Collects issues that need to be resolved soon, but not before the next release.\r\nThis milestone is always open and it gets populated from the either the long-term milestone or from new (unmilestoned) issues.\r\n\r\nRef: https://github.com/ContinuumIO/bokeh/wiki/BEP-1:-Issues-and-PRs-management#issue-times","creator":{"login":"damianavila","id":1640669,"avatar_url":"https://avatars1.githubusercontent.com/u/1640669?v=3","gravatar_id":"","url":"https://api.github.com/users/damianavila","html_url":"https://github.com/damianavila","followers_url":"https://api.github.com/users/damianavila/followers","following_url":"https://api.github.com/users/damianavila/following{/other_user}","gists_url":"https://api.github.com/users/damianavila/gists{/gist_id}","starred_url":"https://api.github.com/users/damianavila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianavila/subscriptions","organizations_url":"https://api.github.com/users/damianavila/orgs","repos_url":"https://api.github.com/users/damianavila/repos","events_url":"https://api.github.com/users/damianavila/events{/privacy}","received_events_url":"https://api.github.com/users/damianavila/received_events","type":"User","site_admin":false},"open_issues":297,"closed_issues":6,"state":"open","created_at":"2014-10-02T12:30:03Z","updated_at":"2017-05-09T20:14:54Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-01-01T18:02:23Z","updated_at":"2017-05-09T20:14:54Z","closed_at":"2017-05-09T20:14:54Z","body":"While trying to learn to use Bokeh in Python, I got confused by the charts API docs because some of the examples there produce errors and the function signatures don't match the docs. I'll take [bokeh.charts.Line](http://bokeh.pydata.org/en/latest/docs/reference/charts.html#bokeh.charts.Line) as an example:\n1. The example code produces an error in the documentation, which I also receive when testing it on my laptop. Wrapping the NumPy array in a Pandas DataFrame and specifying y='column name' works.\n2. The documentation describes a parameter `values`, but passing `values=...` to bokeh.charts.Line results in an exception:\n   \n   AttributeError: unexpected attribute 'values' to ChartOptions, possible attributes are filename,\n   height, id, legend, name, notebook, responsive, server, session, tags, title, title_text_font_size,\n   tools, width, xgrid, xlabel, xscale, ygrid, ylabel or yscale\n3. I never did get Line to work with NumPy arrays. Are they supposed to?\n"}}
{"actor":{"display_login":"bryevdv"}}