Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 384353a

Browse filesBrowse files
committed
lint annotations_test
1 parent 58966ed commit 384353a
Copy full SHA for 384353a

File tree

1 file changed

+0
-27
lines changed
Filter options

1 file changed

+0
-27
lines changed

‎test/jasmine/tests/annotations_test.js

Copy file name to clipboardExpand all lines: test/jasmine/tests/annotations_test.js
-27Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -826,26 +826,6 @@ describe('annotation effects', function() {
826826
jasmine.addMatchers(customMatchers);
827827
});
828828

829-
// beforeEach(function(done) {
830-
// gd = createGraphDiv();
831-
832-
// // we've already tested autorange with relayout, so fix the geometry
833-
// // completely so we know exactly what we're dealing with
834-
// // plot area is 300x300, and covers data range 100x100
835-
// Plotly.plot(gd,
836-
// [{x: [0, 100], y: [0, 100], mode: 'markers'}],
837-
// {
838-
// xaxis: {range: [0, 100]},
839-
// yaxis: {range: [0, 100]},
840-
// width: 500,
841-
// height: 500,
842-
// margin: {l: 100, r: 100, t: 100, b: 100, pad: 0}
843-
// },
844-
// {editable: true}
845-
// )
846-
// .then(done);
847-
// });
848-
849829
function makePlot(annotations, config) {
850830
gd = createGraphDiv();
851831

@@ -870,13 +850,6 @@ describe('annotation effects', function() {
870850

871851
afterEach(destroyGraphDiv);
872852

873-
function initAnnotation(annotation) {
874-
return Plotly.relayout(gd, {annotations: [annotation]})
875-
.then(function() {
876-
return Plots.previousPromises(gd);
877-
});
878-
}
879-
880853
function dragAndReplot(node, dx, dy, edge) {
881854
return drag(node, dx, dy, edge).then(function() {
882855
return Plots.previousPromises(gd);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.