Skip to content

Commit

Permalink
let markershape be overrideble
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith committed Sep 21, 2022
1 parent e0f61fe commit 186a961
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/recipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ clamp_to_eps!(ary) = (replace!(x -> x <= 0.0 ? Base.eps(Float64) : x, ary); noth

@recipe function f(::Type{Val{:xerror}}, x, y, z)
error_style!(plotattributes)
markershape := :vline
markershape --> :vline
xerr = error_zipit(plotattributes[:xerror])
if z === nothing
plotattributes[:x], plotattributes[:y] = error_coords(xerr, x, y)
Expand All @@ -1211,7 +1211,7 @@ end

@recipe function f(::Type{Val{:yerror}}, x, y, z)
error_style!(plotattributes)
markershape := :hline
markershape --> :hline
yerr = error_zipit(plotattributes[:yerror])
if z === nothing
plotattributes[:y], plotattributes[:x] = error_coords(yerr, y, x)
Expand All @@ -1228,7 +1228,7 @@ end

@recipe function f(::Type{Val{:zerror}}, x, y, z)
error_style!(plotattributes)
markershape := :hline
markershape --> :hline
if z !== nothing
zerr = error_zipit(plotattributes[:zerror])
plotattributes[:z], plotattributes[:x], plotattributes[:y] =
Expand Down

0 comments on commit 186a961

Please sign in to comment.