allow labels as vector

This commit is contained in:
Daniel Schwabeneder 2020-05-03 22:02:02 +02:00
parent 3d693d88e0
commit 1b3446a7dd

View File

@ -1103,6 +1103,10 @@ function RecipesPipeline.preprocess_attributes!(plotattributes::AKW)
plotattributes[:colorbar] = convertLegendValue(plotattributes[:colorbar]) plotattributes[:colorbar] = convertLegendValue(plotattributes[:colorbar])
end end
if haskey(plotattributes, :label) && plotattributes[:label] isa AbstractVector
plotattributes[:label] = permutedims(plotattributes[:label])
end
# framestyle # framestyle
if haskey(plotattributes, :framestyle) && haskey(_framestyleAliases, plotattributes[:framestyle]) if haskey(plotattributes, :framestyle) && haskey(_framestyleAliases, plotattributes[:framestyle])
plotattributes[:framestyle] = _framestyleAliases[plotattributes[:framestyle]] plotattributes[:framestyle] = _framestyleAliases[plotattributes[:framestyle]]