@@ -269,7 +269,7 @@ exports.plot = function(gd, data, layout, config) {
269
269
Lib . error ( msg ) ;
270
270
} else {
271
271
Lib . log ( msg + ' Clearing graph and plotting again.' ) ;
272
- Plots . cleanPlot ( [ ] , { } , gd . _fullData , fullLayout , gd . calcdata ) ;
272
+ Plots . cleanPlot ( [ ] , { } , gd . _fullData , fullLayout ) ;
273
273
Plots . supplyDefaults ( gd ) ;
274
274
fullLayout = gd . _fullLayout ;
275
275
Plots . doCalcdata ( gd ) ;
@@ -614,7 +614,7 @@ exports.newPlot = function(gd, data, layout, config) {
614
614
gd = Lib . getGraphDiv ( gd ) ;
615
615
616
616
// remove gl contexts
617
- Plots . cleanPlot ( [ ] , { } , gd . _fullData || [ ] , gd . _fullLayout || { } , gd . calcdata || [ ] ) ;
617
+ Plots . cleanPlot ( [ ] , { } , gd . _fullData || [ ] , gd . _fullLayout || { } ) ;
618
618
619
619
Plots . purge ( gd ) ;
620
620
return exports . plot ( gd , data , layout , config ) ;
@@ -3199,10 +3199,9 @@ exports.purge = function purge(gd) {
3199
3199
3200
3200
var fullLayout = gd . _fullLayout || { } ;
3201
3201
var fullData = gd . _fullData || [ ] ;
3202
- var calcdata = gd . calcdata || [ ] ;
3203
3202
3204
3203
// remove gl contexts
3205
- Plots . cleanPlot ( [ ] , { } , fullData , fullLayout , calcdata ) ;
3204
+ Plots . cleanPlot ( [ ] , { } , fullData , fullLayout ) ;
3206
3205
3207
3206
// purge properties
3208
3207
Plots . purge ( gd ) ;
0 commit comments