MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / resetPlots

Method resetPlots

src/plotViewer/index.ts:445–449  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

443
444 // restore closed plots, reset zoom, redraw html
445 public resetPlots(): void {
446 this.hiddenPlots = [];
447 this.zoom = this.zoom0;
448 void this.refreshPlots(this.api.getPlots(), true, true);
449 }
450
451 public hidePlot(id?: HttpgdPlotId): void {
452 id ??= this.activePlot;

Callers 1

handleCommandMethod · 0.80

Calls 1

refreshPlotsMethod · 0.95

Tested by

no test coverage detected