(msg, exp)
| 230 | } |
| 231 | |
| 232 | function assertVisibleErrorBars(msg, exp) { |
| 233 | var scene = gd._fullLayout._plots.xy._scene; |
| 234 | var countSceneErrorYOptions = scene.errorYOptions.filter(function(opts) { return opts; }).length; |
| 235 | var countDrawableErrorGroups = scene.error2d.groups.filter(function(group) { return group && group.count; }).length; |
| 236 | |
| 237 | expect(countSceneErrorYOptions).toBe(exp, msg + ' scene options'); |
| 238 | expect(countDrawableErrorGroups).toBe(exp, msg + ' renderer groups'); |
| 239 | assertNoStaleErrorGroups(scene, msg); |
| 240 | } |
| 241 | |
| 242 | Plotly.newPlot(gd, [{ |
| 243 | type: 'scattergl', |
no test coverage detected
searching dependent graphs…