always return positive linthresh for pyplot with log scales

This commit is contained in:
Daniel Schwabeneder 2019-08-29 14:13:57 +02:00
parent cb161a25da
commit 2c57e0c958

View File

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