8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896471c commit e12ce1bCopy full SHA for e12ce1b
test/jasmine/tests/toimage_test.js
@@ -149,7 +149,7 @@ describe('Plotly.toImage', function() {
149
.then(function() { return Plotly.toImage(gd, {format: 'png', imageDataOnly: true}); })
150
.then(function(d) {
151
expect(d.indexOf('data:image/')).toBe(-1);
152
- expect(d.length).toBeWithin(50000, 5e3, 'png image length');
+ expect(d.length).toBeWithin(52500, 7500, 'png image length');
153
})
154
.then(function() { return Plotly.toImage(gd, {format: 'jpeg', imageDataOnly: true}); })
155
0 commit comments