{"action":"opened","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/5394","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/5394/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/5394/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/5394/events","html_url":"https://github.com/bokeh/bokeh/issues/5394","id":184651890,"number":5394,"title":"The data are displayed but not the line","user":{"login":"Pierretherenard","id":23002446,"avatar_url":"https://avatars.githubusercontent.com/u/23002446?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierretherenard","html_url":"https://github.com/Pierretherenard","followers_url":"https://api.github.com/users/Pierretherenard/followers","following_url":"https://api.github.com/users/Pierretherenard/following{/other_user}","gists_url":"https://api.github.com/users/Pierretherenard/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierretherenard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierretherenard/subscriptions","organizations_url":"https://api.github.com/users/Pierretherenard/orgs","repos_url":"https://api.github.com/users/Pierretherenard/repos","events_url":"https://api.github.com/users/Pierretherenard/events{/privacy}","received_events_url":"https://api.github.com/users/Pierretherenard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-22T20:19:28Z","updated_at":"2016-10-22T20:19:28Z","closed_at":null,"body":"The line display when **source** is not there but as soon as i add **source** it disappears, only the data point are present\r\n![screen shot 2016-10-22 at 1 03 47 pm](https://cloud.githubusercontent.com/assets/23002446/19622168/31866fb4-9858-11e6-84a5-060848d0d29f.png)\r\n\r\n![pyjtoct20_1](https://cloud.githubusercontent.com/assets/23002446/19622178/8a7163a4-9858-11e6-996a-bef64a2ade4c.png)\r\n\r\n\r\n\r\npl = figure(plot_width=900, plot_height=650, title=\"JT Change\",\r\n                       tools=\"pan,wheel_zoom,box_zoom,crosshair,reset,hover,previewsave\", x_axis_type=\"datetime\")\r\n\r\n            x=[]\r\n            y= []\r\n\r\n            for i in range(0,50):\r\n                x.append(i)\r\n                y.append(i)\r\n\r\n            source = ColumnDataSource(data=dict(x=x,y=y, xm=xm, frqwrdtm=frqwrdtm))\r\n            val1 = 'together'  # set first time\r\n            l1 = 'together'\r\n\r\n            def callback1(source=source):\r\n                dat = source.get('data')\r\n                val = cb_obj.get('value')\r\n                x,y,xm, frqwrdtm = dat['x'],dat['y'],dat['xm'], dat['frqwrdtm']\r\n                if val == 'children':\r\n                    for i in range(0, 50):\r\n                         y[i] = i+3 # frqwrdtm[2][i]\r\n                        \r\n                source.trigger('change')\r\n\r\n            slctt21 = Select(title=\"Most Used Word 1:\", value=val1,options=mstwrd, callback=CustomJS.from_py_func(callback1))\r\n            slctt22 = Select(title=\"Most Used Word 2:\", value=val, options=mstwrd)\r\n            slctt23 = Select(title=\"Most Used Word 3:\", value=val, options=mstwrd)\r\n\r\n            wdgts1 = WidgetBox(slctt21)\r\n            wdgts2 = WidgetBox(slctt22)\r\n            wdgts3 = WidgetBox(slctt23)\r\n\r\n            pl.line('x','y', legend='l1',line_color=\"tomato\", line_width=2, source=source) \r\n            #pl.line(x=xm, y=frqwrdtm[0], legend='l1', line_color=\"tomato\", line_width=2, source=source1)\r\n            #pl.line(x=xm, y=frqwrdtm[1], legend=wrdfrqtm[1], line_color=\"blue\", line_width=2)\r\n            #pl.line(x=xm, y=frqwrdtm[2], legend=wrdfrqtm[2], line_color=\"limegreen\", line_width=2)\r\n            #pl.circle('x','y', fill_color='white', size=6)#, source=source1)\r\n            pl.xaxis.major_tick_line_color = \"firebrick\"\r\n            pl.xaxis.major_tick_line_width = 3\r\n            pl.xaxis.minor_tick_line_color = \"orange\"\r\n            pl.legend.location = \"bottom_right\"\r\n\r\n            l3 = row([column([wdgts1,wdgts2,wdgts3]), pl])\r\n            tab3 = Panel(child=l3, title='Change')\r\n            # --------------------------------\r\n            tabs = Tabs(tabs=[tab1, tab2, tab3])\r\n            show(tabs)\r\n\r\n\r\nI use\r\n r = plot_kmeans.circle('x','y', source=source)\r\nin tab1 and it works with no problem.\r\nI am using 0.12.3. I tried a lot of other configurations with the same missing line for now when I add **source**.\r\n\r\nPierre"}}
{"actor":{"display_login":"Pierretherenard"}}