diff --git a/src/pipeline.jl b/src/pipeline.jl index 58d55020..89b6fb4f 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -351,6 +351,13 @@ function RecipesPipeline.add_series!(plt::Plot, plotattributes) sp = _prepare_subplot(plt, plotattributes) if plotattributes[:permute] != :none letter1, letter2 = plotattributes[:permute] + if plotattributes[:markershape] == :hline && (plotattributes[:permute] == (:x, :y) || + plotattributes[:permute] == (:y, :x)) + plotattributes[:markershape] = :vline + elseif plotattributes[:markershape] == :vline && (plotattributes[:permute] == (:x, :y) || + plotattributes[:permute] == (:y, :x)) + plotattributes[:markershape] = :hline + end plotattributes[letter1], plotattributes[letter2] = plotattributes[letter2], plotattributes[letter1] end