Skip to content
Snippets Groups Projects
Commit 4f860017 authored by Ibrahim Roshan Kunnakkattu's avatar Ibrahim Roshan Kunnakkattu
Browse files

remove existing circles before adding new

parent 7a57dbde
No related branches found
No related tags found
1 merge request!5Refactored code for diplaying aggregated ligand interactions
......@@ -161,7 +161,8 @@ class Depiction {
const firstScale = gradient.firstScale;
const secondScale = gradient.secondScale;
const thirdScale = gradient.thirdScale;
this.weight.selectAll("*").remove();
this.weight.selectAll()
.data(data)
.enter()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment