Conditions | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
1 | import numpy as np |
||
10 | def bokeh_lda_vis(data=None): |
||
11 | output_file("circles.html") |
||
12 | |||
13 | plot = figure() |
||
14 | plot.circle(data["x"].tolist(), data["y"].tolist(), size=10) |
||
15 | |||
16 | # curdoc().add_root(plot) |
||
17 | # session = push_session(curdoc()) |
||
18 | # script = autoload_server(model=None, session_id=session.id) |
||
19 | # return script |
||
20 | show(plot) |
||
21 | |||
25 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.