(xBinsFull, yBinsFull, xBins, yBins)
| 253 | }); |
| 254 | |
| 255 | function _assert(xBinsFull, yBinsFull, xBins, yBins) { |
| 256 | expect(gd._fullData[0].xbins).toEqual(xBinsFull); |
| 257 | expect(gd._fullData[0].ybins).toEqual(yBinsFull); |
| 258 | expect(gd._fullData[0].autobinx).toBeUndefined(); |
| 259 | expect(gd._fullData[0].autobiny).toBeUndefined(); |
| 260 | expect(gd.data[0].xbins).toEqual(xBins); |
| 261 | expect(gd.data[0].ybins).toEqual(yBins); |
| 262 | expect(gd.data[0].autobinx).toBeUndefined(); |
| 263 | expect(gd.data[0].autobiny).toBeUndefined(); |
| 264 | } |
| 265 | |
| 266 | it('handles autobin correctly on restyles', function(done) { |
| 267 | var x1 = [ |
no outgoing calls
no test coverage detected
searching dependent graphs…