MCPcopy Index your code
hub / github.com/plotly/plotly.py / showImage

Method showImage

js/src/mimeExtension.ts:112–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111
112 private showImage() {
113 // Show the image element
114 let el = <HTMLImageElement>this.node.querySelector(".plot-img");
115 if (el !== null && el !== undefined) {
116 el.style.display = "block";
117 }
118 }
119
120 private createGraph(model: IRenderMime.IMimeModel): Promise<void> {
121 const { data, layout, frames, config } = model.data[this._mimeType] as

Callers 1

updateImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected