bokeh/bokeh — pull request #1454 by awesomebytes (2014-11-22 16:52:32+00:00)
Title: Making animated demo work (API change?)

This code gave some errors when trying to execute it. Firstly the same as I reported here:

https://github.com/bokeh/bokeh/pull/1453

About figure returning ```None```.

Then it seems ```GlyphRenderer``` is now ```Glyph```.

And the method ```select``` was not found, so I took from some other example those lines to choose the renderer. Other files affected by this:

bokeh/examples$ grep -r "select(dict" .
./plotting/notebook/random_walk.ipynb: "renderer = p.select(dict(name=\"line_example\"))[0]\n",
./plotting/notebook/animated.ipynb: "renderer = p.select(dict(name=\"aw\"))[0]\n",
./plotting/server/texas.py:hover = p.select(dict(type=HoverTool))
./plotting/server/scatter_selection.py:select_tool = p1.select(dict(type=BoxSelectTool))
./plotting/server/scatter_selection.py:select_tool = p2.select(dict(type=BoxSelectTool))
./plotting/server/hover.py:hover =p.select(dict(type=HoverTool))
./plotting/server/tap.py:tool = p.select(dict(type=TapTool))[0]
./plotting/file/periodic.py:hover = p.select(dict(type=HoverTool))
./plotting/file/les_mis.py:hover = p.select(dict(type=HoverTool))
./plotting/file/unemployment.py:hover = p.select(dict(type=HoverTool))
./plotting/file/texas.py:hover = p.select(dict(type=HoverTool))
./plotting/file/scatter_selection.py:select_tool = p1.select(dict(type=BoxSelectTool))
./plotting/file/scatter_selection.py:select_tool = p2.select(dict(type=BoxSelectTool))
./plotting/file/hover.py:hover =p.select(dict(type=HoverTool))
./plotting/file/tap.py:tool = p.select(dict(type=TapTool))[0]