Skip to content

Commit 6aba33f

Browse files
committed
Fix range selection for logy
Always when minimal position value specified - use it in log scale
1 parent 94f27ff commit 6aba33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gpad/TFramePainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ class TFramePainter extends ObjectPainter {
19601960
noexp_changed: this.y_noexp_changed,
19611961
symlog: this.swap_xy ? opts.symlog_x : opts.symlog_y,
19621962
logcheckmin: (opts.ndim < 2) || this.swap_xy,
1963-
log_min_nz: opts.ymin_nz && (opts.ymin_nz < 0.01*this.ymax) ? 0.3 * opts.ymin_nz : 0,
1963+
log_min_nz: opts.ymin_nz && (opts.ymin_nz < this.ymax) ? 0.9*opts.ymin_nz : 0,
19641964
logminfactor: logminfactorY });
19651965

19661966
this.y_handle.assignFrameMembers(this, 'y');

0 commit comments

Comments
 (0)