Download src/studio-agent/modes/matplotlib/plot-render-port.ts from Bin29/ManimCat: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/spaces/Bin29/ManimCat/resolve/main/src/studio-agent/modes/matplotlib/plot-render-port.ts
- Command line
-
hf download hf://spaces/Bin29/ManimCat/src/studio-agent/modes/matplotlib/plot-render-port.ts
-
curl -L -o plot-render-port.ts https://huggingface.co/spaces/Bin29/ManimCat/resolve/main/src/studio-agent/modes/matplotlib/plot-render-port.ts
430 Bytes
| export interface PlotRenderInput { | |
| workspaceDirectory: string | |
| workspaceOutputDirectory?: string | |
| renderId: string | |
| code: string | |
| signal?: AbortSignal | |
| } | |
| export interface PlotRenderExecution { | |
| outputDir: string | |
| scriptPath: string | |
| imageDataUris: string[] | |
| imagePaths: string[] | |
| stdout: string | |
| stderr: string | |
| } | |
| export interface PlotRenderPort { | |
| execute: (input: PlotRenderInput) => Promise<PlotRenderExecution> | |
| } | |