8109d5c748db265f30d136fb518d0bfca93d55a3,examples/plotting/server/animated.py,,,#,34

Before Change


    rmax = roll(ds.data["outer_radius"], -1)
    ds.data.update(inner_radius=rmin, outer_radius=rmax)

curdoc().add_periodic_callback(update, 60)

session.show(p) // open the document in a browser

session.loop_until_closed() // run forever

After Change


    rmax = roll(ds.data["outer_radius"], -1)
    ds.data.update(inner_radius=rmin, outer_radius=rmax)

document = curdoc()
document.add_root(p)
document.add_periodic_callback(update, 60)

if __name__ == "__main__":
    print("\nanimating... press ctrl-C to stop")
    session = push_session(document)
    session.show()
    session.loop_until_closed()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 23

Instances


Project Name: bokeh/bokeh
Commit Name: 8109d5c748db265f30d136fb518d0bfca93d55a3
Time: 2017-08-08
Author: canavandl@gmail.com
File Name: examples/plotting/server/animated.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 8109d5c748db265f30d136fb518d0bfca93d55a3
Time: 2017-08-08
Author: canavandl@gmail.com
File Name: examples/plotting/server/fourier_animated.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 8109d5c748db265f30d136fb518d0bfca93d55a3
Time: 2017-08-08
Author: canavandl@gmail.com
File Name: examples/plotting/server/geojson_points.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 8109d5c748db265f30d136fb518d0bfca93d55a3
Time: 2017-08-08
Author: canavandl@gmail.com
File Name: examples/plotting/server/animated.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 8109d5c748db265f30d136fb518d0bfca93d55a3
Time: 2017-08-08
Author: canavandl@gmail.com
File Name: examples/plotting/server/line_animate.py
Class Name:
Method Name: