MCPcopy Index your code
hub / github.com/bqplot/bqplot / save_png

Method save_png

js/src/Toolbar.ts:97–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 save_png() {
98 /**
99 * Triggers the saving for all the views of that figure.
100 */
101 // TODO: the toolbar view needs to be associated with a Figure
102 // view to avoid calling a model method here.
103 const figure = this.get('figure');
104 if (figure) {
105 figure.save_png();
106 }
107 }
108
109 _create_panzoom_model(figure) {
110 /**

Callers 1

renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected