diff --git a/src/arg_desc.jl b/src/arg_desc.jl index 626aa3b83..952904a06 100644 --- a/src/arg_desc.jl +++ b/src/arg_desc.jl @@ -18,7 +18,7 @@ const _arg_desc = KW( :markercolor => "Color Type. Color of the interior of the marker or shape. `:match` will take the value from `:seriescolor`.", :markeralpha => "Number in [0,1]. The alpha/opacity override for the marker interior. `nothing` (the default) means it will take the alpha value of markercolor.", :markersize => "Number or AbstractVector. Size (radius pixels) of the markers", - :markerstrokestyle => "Symbol. Style of the marker stroke (border). Choose from $(_allStyles)", + :markerstrokestyle => "Symbol. Style of the marker stroke (border), and error bars. Choose from $(_allStyles)", :markerstrokewidth => "Number. Width of the marker stroke (border) in pixels", :markerstrokecolor => "Color Type. Color of the marker stroke (border). `:match` will take the value from `:foreground_color_subplot`.", :markerstrokealpha => "Number in [0,1]. The alpha/opacity override for the marker stroke (border). `nothing` (the default) means it will take the alpha value of markerstrokecolor.", diff --git a/src/args.jl b/src/args.jl index f13e631ca..2e8a44464 100644 --- a/src/args.jl +++ b/src/args.jl @@ -981,8 +981,6 @@ add_aliases(:window_title, :windowtitle, :wtitle) add_aliases(:show, :gui, :display) add_aliases(:color_palette, :palette) add_aliases(:overwrite_figure, :clf, :clearfig, :overwrite, :reuse) -add_aliases(:xerror, :xerr, :xerrorbar) -add_aliases(:yerror, :yerr, :yerrorbar, :err, :errorbar) add_aliases(:zerror, :zerr, :zerrorbar) add_aliases(:quiver, :velocity, :quiver2d, :gradient, :vectorfield) add_aliases(:normalize, :norm, :normed, :normalized) diff --git a/src/recipes.jl b/src/recipes.jl index c4248a76f..b29841665 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -1156,10 +1156,18 @@ end msc end + mss = plotattributes[:markerstrokestyle] + mss = if mss !== :match && !isnothing(mss) + mss + else + plotattributes[:linestyle] + end + seriestype := :path markerstrokecolor --> msc markercolor --> msc linecolor --> msc + linestyle --> mss linewidth --> plotattributes[:markerstrokewidth] label --> "" end