MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / plot

Function plot

supabase/functions/execute-code-2/index.ts:210–220  ·  view source on GitHub ↗
(
    title: string,
    type: "line" | "bar",
    data: { x: number | string; y: string }[],
    labels?: { x: string; y: string },
  )

Source from the content-addressed store, hash-verified

208 .join("\n\n");
209
210 function plot(
211 title: string,
212 type: "line" | "bar",
213 data: { x: number | string; y: string }[],
214 labels?: { x: string; y: string },
215 ) {
216 builtinFunctionCalls.push({
217 type: "plot",
218 args: { title, type, data, labels },
219 });
220 }
221 // Wrap in an async function and call it to
222 // const code = `
223 const code = `${fnDefinitions}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected