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

Method hideImage

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

Source from the content-addressed store, hash-verified

102 }
103
104 private hideImage() {
105 // Hide the image element
106 let el = <HTMLImageElement>this.node.querySelector(".plot-img");
107 if (el !== null && el !== undefined) {
108 el.style.display = "none";
109 }
110 }
111
112 private showImage() {
113 // Show the image element

Callers 1

createGraphMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected