1b3873d544dddda983f8828b93bbf9f6c64bb3c2,examples/plotting/server/simple_stream.py,,,#,15

Before Change


    newx = np.hstack([oldx, [oldx[-1] + 4*np.pi/200]])
    ds.data["x"] = newx
    ds.data["y"] = np.sin(newx)
    cursession().store_objects(ds)
    time.sleep(0.5)

After Change


p.line(x,y, color="/񳒞aa", line_width=2)

// Open a session which will keep our local doc in sync with server
session = push_session(curdoc())
// Open the session in a browser
session.show()

ds = p.select({"type": GlyphRenderer})[0].data_source
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: bokeh/bokeh
Commit Name: 1b3873d544dddda983f8828b93bbf9f6c64bb3c2
Time: 2015-11-02
Author: fabio.pliger@gmail.com
File Name: examples/plotting/server/simple_stream.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 8fb22eea3566bb935390ed97a626fccf20f5ab70
Time: 2015-11-03
Author: fabio.pliger@gmail.com
File Name: examples/embed/animated.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 1b3873d544dddda983f8828b93bbf9f6c64bb3c2
Time: 2015-11-02
Author: fabio.pliger@gmail.com
File Name: examples/plotting/server/line_animate.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 77b5d7d17234bf6a1b1af54b45a1beaf355d7501
Time: 2015-10-30
Author: hp@pobox.com
File Name: examples/plotting/server/animated.py
Class Name:
Method Name: