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

Method showGraph

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

Source from the content-addressed store, hash-verified

94 }
95
96 private showGraph() {
97 // Show the graph if there is one
98 let el = <HTMLDivElement>this.node.querySelector(".plot-container");
99 if (el !== null && el !== undefined) {
100 el.style.display = "block";
101 }
102 }
103
104 private hideImage() {
105 // Hide the image element

Callers 1

createGraphMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected