(t, l, b, r)
| 1462 | var h = 500; |
| 1463 | |
| 1464 | function assertMargins(t, l, b, r) { |
| 1465 | var div3d = document.getElementById('scene'); |
| 1466 | expect(parseFloat(div3d.style.top)).toEqual(t, 'top'); |
| 1467 | expect(parseFloat(div3d.style.left)).toEqual(l, 'left'); |
| 1468 | expect(h - parseFloat(div3d.style.height) - t).toEqual(b, 'bottom'); |
| 1469 | expect(w - parseFloat(div3d.style.width) - l).toEqual(r, 'right'); |
| 1470 | } |
| 1471 | |
| 1472 | Plotly.newPlot(gd, [{ |
| 1473 | type: 'scatter3d', |
no outgoing calls
no test coverage detected
searching dependent graphs…