Skip to content

Commit eab3a4c

Browse files
fix notations(n,u,p) for bias plot (#9)
Co-authored-by: jharajeev55 <jharajeev55@gmail.com>
1 parent e95a3bf commit eab3a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-gen-ui/src/app/components/main-sweep/plot-container/plot-bias/plot-bias.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export class PlotBiasComponent
270270
max = Math.max(...range);
271271
}
272272
} else {
273-
max = parseToDecimal(this.sourceRange.value);
273+
max = parseToDecimal(this.sourceRange.value,(this.plotLayout.yaxis2.ticksuffix).trim());
274274
}
275275
if (typeof max === 'number' && !isNaN(max)) {
276276
const maxRange = PlotUtils.computeMaxRange(-max, max);

0 commit comments

Comments
 (0)