Merge pull request #989 from mkborregaard/fix-markershape-recipes

RFC: fix markershape in recipes
This commit is contained in:
Michael Krabbe Borregaard 2017-07-29 08:51:51 +02:00 committed by GitHub
commit 5e5412887c

View File

@ -706,6 +706,9 @@ function preprocessArgs!(d::KW)
delete!(d, :marker)
if haskey(d, :markershape)
d[:markershape] = _replace_markershape(d[:markershape])
if d[:markershape] == :none && d[:seriestype] in (:scatter, :scatterbins, :scatterhist, :scatter3d) #the default should be :auto, not :none, so that :none can be set explicitly and would be respected
d[:markershape] = :circle
end
elseif anymarker
d[:markershape_to_add] = :circle # add it after _apply_recipe
end