Auto-format
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
8010fdf453
commit
e8a9d13d6a
@ -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)
|
||||
|
||||
@ -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] =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user