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