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

Function check

test/jasmine/tests/plot_api_test.js:1210–1215  ·  view source on GitHub ↗
(auto, msg)

Source from the content-addressed store, hash-verified

1208 var zmax1 = 10;
1209
1210 function check(auto, msg) {
1211 negateIf(auto, expect(gd._fullData[0].zmin)).toBe(zmin0, msg);
1212 expect(gd._fullData[0].zauto).toBe(auto, msg);
1213 negateIf(auto, expect(gd._fullData[1].zmax)).toBe(zmax1, msg);
1214 expect(gd._fullData[1].zauto).toBe(auto, msg);
1215 }
1216
1217 Plotly.newPlot(gd, [
1218 {

Callers 1

plot_api_test.jsFile · 0.70

Calls 1

negateIfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…