Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Add more attributes to scatterlines (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Feb 26, 2021
1 parent 2293e85 commit ed28de9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/basic_recipes/scatterlines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ $(ATTRIBUTES)
colormap = l_theme.colormap,
colorrange = get(l_theme.attributes, :colorrange, automatic),
linestyle = l_theme.linestyle,
linewidth = l_theme.linewidth,
markercolor = s_theme.color,
markercolormap = s_theme.colormap,
markercolorrange = get(s_theme.attributes, :colorrange, automatic),
markersize = s_theme.markersize,
strokecolor = s_theme.strokecolor,
strokewidth = s_theme.strokewidth,
marker = s_theme.marker,
)
end
Expand All @@ -28,12 +30,14 @@ function plot!(p::Combined{scatterlines, <:NTuple{N, Any}}) where N
lines!(p, p[1:N]...;
color = p.color,
linestyle = p.linestyle,
linewidth = p.linewidth,
colormap = p.colormap,
colorrange = p.colorrange,
)
scatter!(p, p[1:N]...;
color = p.markercolor,
strokecolor = p.strokecolor,
strokewidth = p.strokewidth,
marker = p.marker,
markersize = p.markersize,
colormap = p.markercolormap,
Expand Down

0 comments on commit ed28de9

Please sign in to comment.