MCPcopy
hub / github.com/MrNothing/AI-Blocks / SendPieData

Function SendPieData

Sources/build_scripts/global_functions.py:37–39  ·  view source on GitHub ↗
(id, name, color='#3e95cd', flush=True)

Source from the content-addressed store, hash-verified

35 Log("chart:"+str(id)+":"+str(name)+":"+str(value)+":"+str(color), flush)
36
37def SendPieData(id, name, color='#3e95cd', flush=True):
38 if EDITOR_MODE:
39 Log("pie:"+str(id)+":"+str(name)+":"+str(color), flush)
40
41#data contains an array or normalized inputs (from 0 to 1)
42def SendImageData(id, data, width=32, height=32, name="", rgba=False, flush=True, invert=False, offset=0, resize=[]):

Callers 1

RunFunction · 0.85

Calls 1

LogFunction · 0.85

Tested by

no test coverage detected