Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/data/data2d/Spectrum2D/contours.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ function getDefaultContoursLevel(spectrum: Spectrum2D, quadrant = 'rr') {
const minAllowed = 3 * xMaxAbsoluteValue([positive, negative]);

const minLevel = Math.max(minAbsPeakBase, minAllowed);
const minContourLevel = calculateValueOfLevel(minLevel, max, true);
const minContourLevel = Math.min(
calculateValueOfLevel(minLevel, max, true),
90,
Comment thread
jobo322 marked this conversation as resolved.
Outdated
);

const defaultLevel: ContourOptions = {
negative: {
Expand Down
Loading