Merge pull request #2167 from daschw/pyplot

always return positive linthresh for pyplot with log scales
This commit is contained in:
Daniel Schwabeneder 2019-08-31 10:17:44 +02:00 committed by GitHub
commit bccf4ef563
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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...)