MCPcopy Create free account
hub / github.com/datapane/datapane / _gen_bokeh

Function _gen_bokeh

python-client/src/datapane/builtins.py:107–110  ·  view source on GitHub ↗
(**kw)

Source from the content-addressed store, hash-verified

105 from bokeh.plotting import figure # noqa
106
107 def _gen_bokeh(**kw):
108 p = figure(title="simple line example", x_axis_label="x", y_axis_label="y", **kw)
109 p.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], legend_label="Temp.", line_width=2)
110 return p
111
112 def _gen_plotly():
113 fig = go.Figure()

Callers 1

demoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected