cbioportal icon indicating copy to clipboard operation
cbioportal copied to clipboard

Plots tab legend by default shows all possible values for the category used to color by

Open zeynepkaragoz opened this issue 5 months ago • 0 comments

This happens when user colors by a clinical attribute in the plots tab and filters down categories. If I select only a few of the metastatic sites on the vertical axis, the legend does not update and still shows all possible values and colors. It is very difficult to match the colors on the plot to the colors on the legend this way. (see example, you need to use filter categories option)

image

Ideally only colors present in the plots should be included in the legend. Alternatively, the relevant entries in the legend could be highlighted by default if they are present in the plot.

zeynepkaragoz avatar Sep 26 '24 14:09 zeynepkaragoz