Skip to content

Commit d63578b

Browse files
committed
[tmp] replace 'scattergl' traces w/ 'scatter'
- to compare output with better gl2d tick patch
1 parent 9779c96 commit d63578b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/image/assets/get_image_request_options.js

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ module.exports = function getRequestOpts(specs) {
1717
var pathToMock = path.join(constants.pathToTestImageMocks, specs.mockName) + '.json';
1818
var figure = require(pathToMock);
1919

20+
figure.data.forEach(function(t) {
21+
if(t.type === 'scattergl') {
22+
t.type = 'scatter';
23+
}
24+
})
25+
2026
var body = {
2127
figure: figure,
2228
format: specs.format || DEFAULT_FORMAT,

0 commit comments

Comments
 (0)