Skip to content

Commit d5d2e7c

Browse files
committed
DM-7702: fixed bug, function PlotState.getRangeValues was accidently removed.
1 parent 852f6f4 commit d5d2e7c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/firefly/js/visualize/PlotState.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,14 @@ export class PlotState {
207207
}
208208
getPrimaryCubePlaneNumber() { return this.get(this.firstBand()).getCubePlaneNumber(); }
209209

210+
211+
/**
212+
* Get the range values for the plot.
213+
* @param {band} [band] the band get range value for, parameter is unnecessary for non-three color plots
214+
* @return {RangeValues}
215+
*/
216+
getRangeValues(band) { return this.get(band || this.firstBand()).getRangeValues(); }
217+
210218
/**
211219
*
212220
* @return {RangeValues}

0 commit comments

Comments
 (0)