{"action":"opened","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/3546","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/3546/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/3546/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/3546/events","html_url":"https://github.com/bokeh/bokeh/issues/3546","id":124995512,"number":3546,"title":"Charts + Bokeh Server: Scatter plot added twice","user":{"login":"brendancol","id":433221,"avatar_url":"https://avatars.githubusercontent.com/u/433221?v=3","gravatar_id":"","url":"https://api.github.com/users/brendancol","html_url":"https://github.com/brendancol","followers_url":"https://api.github.com/users/brendancol/followers","following_url":"https://api.github.com/users/brendancol/following{/other_user}","gists_url":"https://api.github.com/users/brendancol/gists{/gist_id}","starred_url":"https://api.github.com/users/brendancol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendancol/subscriptions","organizations_url":"https://api.github.com/users/brendancol/orgs","repos_url":"https://api.github.com/users/brendancol/repos","events_url":"https://api.github.com/users/brendancol/events{/privacy}","received_events_url":"https://api.github.com/users/brendancol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20bug","name":"type: bug","color":"C02942"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T16:03:09Z","updated_at":"2016-01-05T16:03:09Z","closed_at":null,"body":"When using charts api + `bokeh serve`, scatter plot is added twice:\r\n\r\nReproduction:\r\n\r\n```python\r\nfrom bokeh.models.widgets import HBox\r\nfrom bokeh.sampledata.autompg import autompg\r\nfrom bokeh.charts import Scatter\r\nfrom bokeh.plotting import Figure\r\nfrom bokeh.io import curdoc\r\n\r\nd = {}\r\nd['tools'] = 'pan,wheel_zoom'\r\nd['data'] = autompg\r\nd['x'] = 'mpg'\r\nd['y'] = 'cyl'\r\nd['xlabel'] = 'mpg'\r\nd['ylabel'] = 'cyl'\r\n\r\ns = Scatter(**d)\r\nplaceholder_fig = Figure(tools='pan,wheel_zoom')\r\n\r\nb = HBox()\r\nb.children = [placeholder_fig, s]\r\ndoc = curdoc().add_root(b)\r\n```"}}