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

Function _assertGlTextOpts

test/jasmine/tests/scattergl_select_test.js:196–202  ·  view source on GitHub ↗
(msg, exp)

Source from the content-addressed store, hash-verified

194 gd = createGraphDiv();
195
196 function _assertGlTextOpts(msg, exp) {
197 var scene = gd.calcdata[0][0].t._scene;
198 scene.glText.forEach(function(opts, i) {
199 expect(Array.from(opts.color))
200 .toBeCloseToArray(exp.rgba[i], 2, 'item ' + i + ' - ' + msg);
201 });
202 }
203
204 _newPlot(gd, fig)
205 .then(delay(20))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…