Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
make Plotly.deleteTraces on 'surface' and 'mesh' traces work
  • Loading branch information
etpinard committed Feb 19, 2016
commit 319822966e8314b2228a3de865b5f5ba30b93955
2 changes: 1 addition & 1 deletion src/traces/mesh3d/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ proto.update = function(data) {
};

proto.dispose = function() {
this.glplot.remove(this.mesh);
this.scene.glplot.remove(this.mesh);
this.mesh.dispose();
};

Expand Down
2 changes: 1 addition & 1 deletion src/traces/surface/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ proto.update = function(data) {


proto.dispose = function() {
this.glplot.remove(this.surface);
this.scene.glplot.remove(this.surface);
this.surface.dispose();
};

Expand Down