diff --git a/src/args.jl b/src/args.jl index 998839ca..c5fc4724 100644 --- a/src/args.jl +++ b/src/args.jl @@ -400,7 +400,7 @@ const _series_defaults = KW( :stride => (1, 1), # array stride for wireframe/surface, the first element is the row stride and the second is the column stride. :connections => nothing, # tuple of arrays to specifiy connectivity of a 3d mesh :z_order => :front, # one of :front, :back or integer in 1:length(sp.series_list) - :permute => :none, # tuple of two symbols to be permuted + :permute => :none, # tuple of two symbols to be permuted :extra_kwargs => Dict(), ) diff --git a/src/consts.jl b/src/consts.jl index c77c45c4..6f4b22d2 100644 --- a/src/consts.jl +++ b/src/consts.jl @@ -1,5 +1,5 @@ -const _deprecated_attributes = Dict{Symbol, Symbol}(:orientation => :permute) +const _deprecated_attributes = Dict{Symbol,Symbol}(:orientation => :permute) const _all_defaults = KW[_series_defaults, _plot_defaults, _subplot_defaults] const _initial_defaults = deepcopy(_all_defaults) diff --git a/src/pipeline.jl b/src/pipeline.jl index 89b6fb4f..3bd3f1eb 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -351,11 +351,12 @@ 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)) + 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)) + elseif plotattributes[:markershape] == :vline && ( + plotattributes[:permute] == (:x, :y) || plotattributes[:permute] == (:y, :x) + ) plotattributes[:markershape] = :hline end plotattributes[letter1], plotattributes[letter2] =