Closed NoopDog closed 5 years ago
Note, only show each of the mutation types in the legend if they are present in the plot. Each plot will vary by gene
Mary, do we have to "only show each of the mutation types in the legend if they are present in the plot. Each plot will vary by gene". How about just showing the same legend for every mutation column.
That could work. I just figured we were already only showing what is there so the code must already be in place. So hook up the new legend to the same code.
I vote for the easier one , same legend across all mutation columns.
At first I wanted the other one but after thinking about it more, you're right. It's easier, the old version doesn't add much, and if they want to use the legend in a real figure they'll probably need to edit it anyways so editing out colors that aren't there isn't too much more work.
And on the off chance their first plot has all blue mutations or something like that, they will realize that we don't just color all mutations blue. That the color means something and if they open another plot they'll see that.
Looking good! It seems to me like the words 'Variant Impact' and the 'no data' bar should be inside the card outline. Is this possible?
on beta