Merge pull request #967 from JackDevine/fix-pyplot-deprecation

Fixed a deprecation warning on the pyplot backend
This commit is contained in:
Daniel Schwabeneder 2017-07-13 09:33:25 +02:00 committed by GitHub
commit 8414facde2

View File

@ -926,7 +926,7 @@ function py_compute_axis_minval(axis::Axis)
for series in series_list(sp)
v = series.d[axis[:letter]]
if !isempty(v)
minval = NaNMath.min(minval, ignorenan_minimum(abs(v)))
minval = NaNMath.min(minval, ignorenan_minimum(abs.(v)))
end
end
end