Skip to content

Commit

Permalink
Merge pull request #28 from Exabyte-io/chore/SOF-7431
Browse files Browse the repository at this point in the history
SOF-7431: contrasting colors for up and down spins in bandstructure plot
  • Loading branch information
pranabdas authored Aug 12, 2024
2 parents 497b5f0 + bbec1e9 commit f887790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/non-scalar/band_structure.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class BandStructureConfig extends HighChartsConfig {
return {
data: lodash.zip(this.pointsDistanceArray, item),
name: spin,
color: spin === "up" ? "#3677d9" : "#36c9d9",
color: spin === "up" ? "#3677d9" : "#ff7f0e",
animation: false,
};
});
Expand Down Expand Up @@ -152,7 +152,7 @@ export class BandStructureConfig extends HighChartsConfig {
"<b>" +
yAxisName +
": </b> " +
this.y.toFixed(4)
this.y.toFixed(_POINT_COORDINATES_PRECISION_)
);
};
}
Expand Down

0 comments on commit f887790

Please sign in to comment.