{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3434","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3434/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3434/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3434/events","html_url":"https://github.com/bokeh/bokeh/issues/3434","id":124163967,"number":3434,"title":"Band fill color issue display","user":{"login":"VelizarVESSELINOV","id":8209940,"avatar_url":"https://avatars.githubusercontent.com/u/8209940?v=3","gravatar_id":"","url":"https://api.github.com/users/VelizarVESSELINOV","html_url":"https://github.com/VelizarVESSELINOV","followers_url":"https://api.github.com/users/VelizarVESSELINOV/followers","following_url":"https://api.github.com/users/VelizarVESSELINOV/following{/other_user}","gists_url":"https://api.github.com/users/VelizarVESSELINOV/gists{/gist_id}","starred_url":"https://api.github.com/users/VelizarVESSELINOV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VelizarVESSELINOV/subscriptions","organizations_url":"https://api.github.com/users/VelizarVESSELINOV/orgs","repos_url":"https://api.github.com/users/VelizarVESSELINOV/repos","events_url":"https://api.github.com/users/VelizarVESSELINOV/events{/privacy}","received_events_url":"https://api.github.com/users/VelizarVESSELINOV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20component:%20bokehjs","name":"tag: component: bokehjs","color":"D0CBB8"},{"url":"https://api.github.com/repos/bokeh/bokeh/labels/tag:%20starter","name":"tag: starter","color":"D0CBB8"},{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20bug","name":"type: bug","color":"C02942"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/11","html_url":"https://github.com/bokeh/bokeh/milestones/short-term","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://avatars.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":382,"closed_issues":41,"state":"open","created_at":"2014-10-02T12:30:03Z","updated_at":"2016-04-02T23:32:25Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-12-29T05:02:37Z","updated_at":"2016-04-02T23:41:43Z","closed_at":null,"body":"There is some precision glitch with bottom band that is not displayed\r\n![bokeh_fill_error](https://cloud.githubusercontent.com/assets/8209940/12029697/28eca1e0-ada6-11e5-99c5-950a699ea1b1.png)\r\n\r\n\r\n```\r\n\"\"\"Plot with Bokeh.\"\"\"\r\nfrom bokeh.plotting import figure, show\r\nfrom bokeh.models import DataRange1d\r\n\r\nyr = DataRange1d(start=0, end=20)\r\n\r\np = figure(y_range=yr)\r\n\r\np.circle(5, 5)\r\n\r\np.ygrid.band_fill_color = \"green\"\r\np.ygrid.band_fill_alpha = 0.1\r\n\r\nshow(p)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/204827562","html_url":"https://github.com/bokeh/bokeh/issues/3434#issuecomment-204827562","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/3434","id":204827562,"user":{"login":"bryevdv","id":1078448,"avatar_url":"https://avatars.githubusercontent.com/u/1078448?v=3","gravatar_id":"","url":"https://api.github.com/users/bryevdv","html_url":"https://github.com/bryevdv","followers_url":"https://api.github.com/users/bryevdv/followers","following_url":"https://api.github.com/users/bryevdv/following{/other_user}","gists_url":"https://api.github.com/users/bryevdv/gists{/gist_id}","starred_url":"https://api.github.com/users/bryevdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryevdv/subscriptions","organizations_url":"https://api.github.com/users/bryevdv/orgs","repos_url":"https://api.github.com/users/bryevdv/repos","events_url":"https://api.github.com/users/bryevdv/events{/privacy}","received_events_url":"https://api.github.com/users/bryevdv/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T23:41:42Z","updated_at":"2016-04-02T23:41:42Z","body":"One issue is here:\r\n\r\nhttps://github.com/bokeh/bokeh/blob/master/bokehjs/src/coffee/models/grids/grid.coffee#L163-L164\r\n\r\nWhere extremal (max/min) range values are excluded. However just changing that (perhaps only in certain cases) would not solve the problem. A better solution is probably to update the function that draws grid bands:\r\n\r\nhttps://github.com/bokeh/bokeh/blob/master/bokehjs/src/coffee/models/grids/grid.coffee#L25-L36\r\n\r\nto always draw one more band (extending to the edge of the plot, whatever that is) after the loop, if the last region was a non-band region."}}