@@ -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