MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / openPlot

Method openPlot

src/renderers/client/render.tsx:119–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118 };
119 const openPlot = () => {
120 if (this.props.ctx.postMessage) {
121 this.props.ctx.postMessage({
122 type: 'openImageInPlotViewer',
123 outputId: this.props.outputId,
124 mimeType: this.props.mimeType
125 } as OpenImageInPlotViewer);
126 }
127 };
128 const copyPlotImage = () => {
129 void writeImageToClipboard(data as Blob);
130 };

Callers

nothing calls this directly

Calls 1

postMessageMethod · 0.65

Tested by

no test coverage detected