fix bar errorbars
This commit is contained in:
parent
d9e4e80d5d
commit
f16d8cf262
@ -100,8 +100,15 @@ function _process_userrecipe(plt::Plot, kw_list::Vector{KW}, recipedata::RecipeD
|
||||
plt.n += 1
|
||||
kw[:series_plotindex] = plt.n
|
||||
|
||||
if get(kw, :seriestype, :path) == :bar
|
||||
# errorbar in front of bars
|
||||
push!(kw_list, kw)
|
||||
_add_errorbar_kw(kw_list, kw)
|
||||
else
|
||||
# errorbar behind markers and lines etc.
|
||||
_add_errorbar_kw(kw_list, kw)
|
||||
push!(kw_list, kw)
|
||||
end
|
||||
_add_smooth_kw(kw_list, kw)
|
||||
return
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user