reset marker_z for errorbars (#4193)

* reset marker_z for errorbars

* also reset line_z
This commit is contained in:
Simon Christ 2022-05-04 16:58:23 +02:00 committed by GitHub
parent 3e1bad0971
commit 92611ea3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1140,6 +1140,13 @@ end
# Error Bars
function error_style!(plotattributes::AKW)
# errorbar color should soley determined by markerstrokecolor
if haskey(plotattributes, :marker_z)
reset_kw!(plotattributes, :marker_z)
end
if haskey(plotattributes, :line_z)
reset_kw!(plotattributes, :line_z)
end
msc = plotattributes[:markerstrokecolor]
msc = if msc === :match
plotattributes[:subplot][:foreground_color_subplot]