@@ -826,26 +826,6 @@ describe('annotation effects', function() {
826
826
jasmine . addMatchers ( customMatchers ) ;
827
827
} ) ;
828
828
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
-
849
829
function makePlot ( annotations , config ) {
850
830
gd = createGraphDiv ( ) ;
851
831
@@ -870,13 +850,6 @@ describe('annotation effects', function() {
870
850
871
851
afterEach ( destroyGraphDiv ) ;
872
852
873
- function initAnnotation ( annotation ) {
874
- return Plotly . relayout ( gd , { annotations : [ annotation ] } )
875
- . then ( function ( ) {
876
- return Plots . previousPromises ( gd ) ;
877
- } ) ;
878
- }
879
-
880
853
function dragAndReplot ( node , dx , dy , edge ) {
881
854
return drag ( node , dx , dy , edge ) . then ( function ( ) {
882
855
return Plots . previousPromises ( gd ) ;
0 commit comments