From 92611ea3b427993f654671e4f7eb53f8a0e45b5f Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Wed, 4 May 2022 16:58:23 +0200 Subject: [PATCH] reset marker_z for errorbars (#4193) * reset marker_z for errorbars * also reset line_z --- src/recipes.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/recipes.jl b/src/recipes.jl index 4827232a..ff073534 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -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]