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

Function bar_base

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

Source from the content-addressed store, hash-verified

286 return put_html(chart.render_notebook())
287
288 def bar_base():
289 chart = Bar("Bar-基本示例", width="100%")
290 chart.set_options(labels=["可乐", "雪碧", "橙汁", "绿茶", "奶茶", "百威", "青岛"], x_label="I'm xlabel", y_label="I'm ylabel")
291 chart.add_series("series-A", [127, 33, 110, 29, 146, 121, 36])
292 return put_html(chart.render_notebook())
293
294 put_grid([[bar_base(), line_base()], [pie_base(), radar_base()]], cell_width='1fr', cell_height='1fr')
295

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…