(msg, restyleObj, exp)
| 874 | } |
| 875 | |
| 876 | function check(msg, restyleObj, exp) { |
| 877 | return function() { |
| 878 | return Plotly.restyle(gd, restyleObj).then(function() { |
| 879 | var gs = Lib.extendDeep({}, gd._fullLayout._size); |
| 880 | assertSize(msg, gs, exp); |
| 881 | previousSize = gs; |
| 882 | }); |
| 883 | }; |
| 884 | } |
| 885 | |
| 886 | Plotly.newPlot(gd, data, layout) |
| 887 | .then(function() { |
no test coverage detected
searching dependent graphs…