Skip to content

Commit

Permalink
Add dtype: 'source' to all histogram style parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Oct 3, 2023
1 parent 1611f94 commit 9aae866
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default Vue.extend({
const mergedStyle = this.maxMergeStyle();
if (mergedStyle.bands.length) {
const simpleMergedStyleString = JSON.stringify({
dtype: 'source',
bands: mergedStyle.bands.map((b) => ({
framedelta: b.framedelta,
band: b.band
Expand All @@ -80,7 +81,9 @@ export default Vue.extend({
});
this.histogramParamStyles[modeID] = simpleMergedStyleString;
} else {
this.histogramParamStyles[modeID] = '{}';
this.histogramParamStyles[modeID] = JSON.stringify({
dtype: 'source'
});
}
});
},
Expand Down

0 comments on commit 9aae866

Please sign in to comment.