Fix for wrong setting of logscale for values below 1e-16

This commit is contained in:
Fedor Bezrukov 2017-09-19 23:22:36 +01:00
parent 0f1d8478ce
commit bdfc4636f0

View File

@ -903,7 +903,7 @@ function py_set_scale(ax, axis::Axis)
elseif scale == :log10
10
end
kw[Symbol(:linthresh,letter)] = NaNMath.max(1e-16, py_compute_axis_minval(axis))
kw[Symbol(:linthresh,letter)] = NaNMath.min(1e-16, py_compute_axis_minval(axis))
"symlog"
end
func(arg; kw...)