resolved conflicts
This commit is contained in:
parent
5060bb97d5
commit
074a4002c0
@ -370,8 +370,8 @@ function widen(lmin, lmax, scale)
|
||||
sf = scalefunc(scale)
|
||||
isf = invscalefunc(scale)
|
||||
span = sf(lmax) - sf(lmin)
|
||||
# eps = max(1e-16, min(1e-2span, 1e-10))
|
||||
eps = max(1e-16, 0.03span)
|
||||
# eps = NaNMath.max(1e-16, min(1e-2span, 1e-10))
|
||||
eps = NaNMath.max(1e-16, 0.03span)
|
||||
isf(lmin-eps), isf(lmax+eps)
|
||||
end
|
||||
|
||||
|
||||
@ -367,7 +367,7 @@ end
|
||||
|
||||
# widen limits out a bit
|
||||
if !(axis[:scale] in _logScales && extrema(xseg.pts)[1] <= 0)
|
||||
expand_extrema!(axis, widen(extrema(xseg.pts)..., axis[:scale]))
|
||||
expand_extrema!(axis, widen(ignorenan_extrema(xseg.pts)..., axis[:scale]))
|
||||
end
|
||||
|
||||
# switch back
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user