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

Function checkScaling

test/jasmine/tests/plot_api_test.js:1504–1509  ·  view source on GitHub ↗
(xyType, xyTypeIn, iIn, iOut)

Source from the content-addressed store, hash-verified

1502 });
1503
1504 function checkScaling(xyType, xyTypeIn, iIn, iOut) {
1505 expect(gd._fullData[iOut].xtype).toBe(xyType);
1506 expect(gd._fullData[iOut].ytype).toBe(xyType);
1507 expect(gd.data[iIn].xtype).toBe(xyTypeIn);
1508 expect(gd.data[iIn].ytype).toBe(xyTypeIn);
1509 }
1510
1511 it('sets heatmap xtype/ytype when you edit x/y data or scaling params', function (done) {
1512 Plotly.newPlot(gd, [

Callers 1

plot_api_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…