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

Function assertLineColor

test/jasmine/tests/updatemenus_test.js:608–611  ·  view source on GitHub ↗
(msg, lineColor)

Source from the content-addressed store, hash-verified

606 var btn;
607
608 function assertLineColor(msg, lineColor) {
609 expect(gd.data[2].line.color).toBe(lineColor, 'gd.data line.color| ' + msg);
610 expect(gd._fullData[2].line.color).toBe(lineColor, 'gd._fullData line.color| ' + msg);
611 }
612
613 Plotly.relayout(gd, 'updatemenus', null)
614 .then(function() { return Plotly.relayout(gd, 'updatemenus[0]', menuOpts); })

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…