MCPcopy Create free account
hub / github.com/pywebio/PyWebIO / line_base

Function line_base

test/11.charts.py:281–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279 return put_html(chart.render_notebook())
280
281 def line_base():
282 chart = Line("Line-基本示例", width="100%")
283 chart.set_options(labels=["衬衫", "毛衣", "领带", "裤子", "风衣", "高跟鞋", "袜子"], x_label="I'm xlabel", y_label="I'm ylabel")
284 chart.add_series("series-A", [25, 87, 114, 131, 130, 94, 146])
285 chart.add_series("series-B", [127, 33, 110, 29, 146, 121, 36])
286 return put_html(chart.render_notebook())
287
288 def bar_base():
289 chart = Bar("Bar-基本示例", width="100%")

Callers 1

cutechartsFunction · 0.85

Calls 1

put_htmlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…