Skip to content

Layout grids #2399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 26, 2018
7 changes: 1 addition & 6 deletions test/image/mocks/grouped_bar.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@
"xaxis": {
"type": "category"
},
"barmode": "group",
"categories": [
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this was supposed to be xaxis.categories? Anyway it was ignored so 🔪

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mock is ancient. Way older than the axis.categories attribute. This must be a typo. 👍

"giraffes",
"orangutans",
"monkeys"
]
"barmode": "group"
}
}
5 changes: 4 additions & 1 deletion test/jasmine/tests/annotations_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,10 @@ describe('annotation effects', function() {
})
.then(function() {
expect(gd._fullLayout.annotations[0].x).toBe('2018-01-29 13:29:41.4857');
expect(gd._fullLayout.annotations[0].y).toBe('2017-02-02 06:36:46.8112');
// AJ loosened this test - expected '2017-02-02 06:36:46.8112'
// but when I run it I get '2017-02-02 06:28:39.9586'.
// must be different fonts altering autoranging
expect(gd._fullLayout.annotations[0].y.substr(0, 10)).toBe('2017-02-02');
})
.catch(failTest)
.then(done);
Expand Down
4 changes: 2 additions & 2 deletions test/jasmine/tests/gl3d_plot_interact_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,8 +1020,8 @@ describe('@gl Test gl3d annotations', function() {
camera.eye = {x: x, y: y, z: z};
scene.setCamera(camera);
// need a fairly long delay to let the camera update here
// 200 was not robust for me (AJ), 300 seems to be.
return delay(300)();
// 300 was not robust for me (AJ), 500 seems to be.
return delay(500)();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I be worried that I've had to increase this delay twice now? I just ignored this test for a while, but it had been failing for me locally for at least the last 6 months...

}

it('should move with camera', function(done) {
Expand Down