Merge pull request #1213 from daschw/fillrange

Make `fill = true` fill to zero
This commit is contained in:
Daniel Schwabeneder 2017-10-31 09:21:47 +01:00 committed by GitHub
commit 671f5c3a68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -695,6 +695,9 @@ function processFillArg(d::KW, arg)
arg.color == nothing || (d[:fillcolor] = arg.color == :auto ? :auto : plot_color(arg.color))
arg.alpha == nothing || (d[:fillalpha] = arg.alpha)
elseif typeof(arg) <: Bool
d[:fillrange] = arg ? 0 : nothing
# fillrange function
elseif allFunctions(arg)
d[:fillrange] = arg