Skip to content

Commit

Permalink
Merge branch 'mrc-5490' into mrc-5443
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Aug 6, 2024
2 parents d3c09a3 + ce43d29 commit ab858d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/src/app/plot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ export function allFitDataToPlotly(
let color = palette[name];
const variable = linkedVariables[name];
if (variable) {
// If there is a linked variable, only show data if the variable is selected - if not ,render the series,
// but as transparent so that all graph x axes are consistent
// If there is a linked variable, only show data if the variable is selected - if not selected, render the
// series, but as transparent so that all graph x axes are consistent
color = selectedVariables.includes(variable) ? paletteModel[variable] : "transparent";
}
return {
Expand Down

0 comments on commit ab858d0

Please sign in to comment.