Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Aug 5, 2024
1 parent 47f6280 commit 43689a8
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 selected, 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 43689a8

Please sign in to comment.