MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / updatePlot

Method updatePlot

src/plotViewer/index.ts:624–631  ·  view source on GitHub ↗
(plt: HttpgdPlot<string>)

Source from the content-addressed store, hash-verified

622 }
623
624 protected updatePlot(plt: HttpgdPlot<string>): void {
625 const msg: UpdatePlotMessage = {
626 message: 'updatePlot',
627 plotId: plt.id,
628 svg: plt.data
629 };
630 this.postWebviewMessage(msg);
631 }
632
633 protected addPlot(plt: HttpgdPlot<string>): void {
634 const ejsData = this.makeEjsData();

Callers 2

resizePlotMethod · 0.95
refreshPlotsMethod · 0.95

Calls 1

postWebviewMessageMethod · 0.95

Tested by

no test coverage detected