ff7d1bec6d558c4467f29c2b4f5ef9a446f4665b,examples/howto/server_embed/tornado_embed.py,,modify_doc,#Any#,23
Before Change
self.write(template.render(script=script, template="Tornado"))
def modify_doc(doc):
x = np.linspace(0, 10, 1000)
y = np.log(x) * np.sin(x)
source = ColumnDataSource(data=dict(x=x, y=y))
plot = figure(title="Simple plot with slider")
After Change
source = ColumnDataSource(data=df)
plot = figure(x_axis_type="datetime", y_range=(0, 25), y_axis_label="Temperature (Celsius)",
title="Sea Surface Temperature at 43.18, -70.43")
plot.line("time", "temperature", source=source)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: bokeh/bokeh
Commit Name: ff7d1bec6d558c4467f29c2b4f5ef9a446f4665b
Time: 2017-03-22
Author: jsignell@gmail.com
File Name: examples/howto/server_embed/tornado_embed.py
Class Name:
Method Name: modify_doc
Project Name: nipy/dipy
Commit Name: 3c4ffa6b9e64f6d521fe27b1d3bfd503a4df5f59
Time: 2010-06-29
Author: matthew.brett@gmail.com
File Name: dipy/core/tests/test_geometry.py
Class Name:
Method Name: test_sphere_distance
Project Name: bokeh/bokeh
Commit Name: ff7d1bec6d558c4467f29c2b4f5ef9a446f4665b
Time: 2017-03-22
Author: jsignell@gmail.com
File Name: examples/howto/server_embed/standalone_embed.py
Class Name:
Method Name: modify_doc
Project Name: bokeh/bokeh
Commit Name: ff7d1bec6d558c4467f29c2b4f5ef9a446f4665b
Time: 2017-03-22
Author: jsignell@gmail.com
File Name: examples/howto/server_embed/tornado_embed.py
Class Name:
Method Name: modify_doc