@@ -1134,7 +1134,7 @@ end
11341134# ---------------------------------------------------------------------------
11351135# Error Bars
11361136
1137- function error_style! (plotattributes:: AKW )
1137+ @attributes function error_style! (plotattributes:: AKW )
11381138 # errorbar color should soley determined by markerstrokecolor
11391139 if haskey (plotattributes, :marker_z )
11401140 reset_kw! (plotattributes, :marker_z )
@@ -1156,12 +1156,12 @@ function error_style!(plotattributes::AKW)
11561156 msc
11571157 end
11581158
1159- plotattributes[ : seriestype] = :path
1160- plotattributes[ : markerstrokecolor] = msc
1161- plotattributes[ : markercolor] = msc
1162- plotattributes[ : linecolor] = msc
1163- plotattributes[ : linewidth] = plotattributes[:markerstrokewidth ]
1164- plotattributes[ : label] = " "
1159+ seriestype : = :path
1160+ markerstrokecolor --> msc
1161+ markercolor --> msc
1162+ linecolor --> msc
1163+ linewidth --> plotattributes[:markerstrokewidth ]
1164+ label --> " "
11651165end
11661166
11671167# if we're passed a tuple of vectors, convert to a vector of tuples
@@ -1194,7 +1194,7 @@ clamp_to_eps!(ary) = (replace!(x -> x <= 0.0 ? Base.eps(Float64) : x, ary); noth
11941194
11951195@recipe function f (:: Type{Val{:xerror}} , x, y, z)
11961196 error_style! (plotattributes)
1197- markershape := :vline
1197+ markershape --> :vline
11981198 xerr = error_zipit (plotattributes[:xerror ])
11991199 if z === nothing
12001200 plotattributes[:x ], plotattributes[:y ] = error_coords (xerr, x, y)
@@ -1211,7 +1211,7 @@ end
12111211
12121212@recipe function f (:: Type{Val{:yerror}} , x, y, z)
12131213 error_style! (plotattributes)
1214- markershape := :hline
1214+ markershape --> :hline
12151215 yerr = error_zipit (plotattributes[:yerror ])
12161216 if z === nothing
12171217 plotattributes[:y ], plotattributes[:x ] = error_coords (yerr, y, x)
@@ -1228,7 +1228,7 @@ end
12281228
12291229@recipe function f (:: Type{Val{:zerror}} , x, y, z)
12301230 error_style! (plotattributes)
1231- markershape := :hline
1231+ markershape --> :hline
12321232 if z != = nothing
12331233 zerr = error_zipit (plotattributes[:zerror ])
12341234 plotattributes[:z ], plotattributes[:x ], plotattributes[:y ] =
0 commit comments