MCPcopy Index your code
hub / github.com/plotly/plotly.js / _plot

Function _plot

test/jasmine/tests/smith_test.js:214–225  ·  view source on GitHub ↗
(fig)

Source from the content-addressed store, hash-verified

212 afterEach(destroyGraphDiv);
213
214 function _plot(fig) {
215 return Plotly.newPlot(gd, fig).then(function() {
216 eventNames.forEach(function(k) {
217 eventCnts[k] = 0;
218 gd.on(k, function(d) {
219 eventData = d;
220 eventCnts[k]++;
221 Lib.clearThrottle();
222 });
223 });
224 });
225 }
226
227 function assertEventPointData(expected, msg) {
228 var actual = eventData.points || [];

Callers 1

smith_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…