File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ plots.sendDataToCloud = function(gd) {
139139 name : 'data'
140140 } ) ;
141141
142- hiddenformInput . node ( ) . value = plots . graphJson ( gd , false ) ;
142+ hiddenformInput . node ( ) . value = plots . graphJson ( gd ) ;
143143 hiddenform . node ( ) . submit ( ) ;
144144 hiddenformDiv . remove ( ) ;
145145
Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ describe('Test Plots', function() {
578578 } ;
579579
580580 Plotly . newPlot ( gd , mock ) . then ( function ( ) {
581- var str = Plots . graphJson ( gd , false ) ;
581+ var str = Plots . graphJson ( gd ) ;
582582 var obj = JSON . parse ( str ) ;
583583
584584 expect ( obj . data ) . toEqual ( mock . data ) ;
@@ -612,7 +612,7 @@ describe('Test Plots', function() {
612612 } ;
613613
614614 Plotly . newPlot ( gd , [ trace ] ) . then ( function ( ) {
615- var str = Plots . graphJson ( gd , false ) ;
615+ var str = Plots . graphJson ( gd ) ;
616616 var obj = JSON . parse ( str ) ;
617617
618618 expect ( obj . data [ 0 ] . x ) . toEqual ( [ 1 , 2 , 3 ] ) ;
You can’t perform that action at this time.
0 commit comments