From 1b3446a7ddcb7ce2e50e98432007db44346b4d42 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 3 May 2020 22:02:02 +0200 Subject: [PATCH] allow labels as vector --- src/args.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/args.jl b/src/args.jl index 3b779f07..53d659ed 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1103,6 +1103,10 @@ function RecipesPipeline.preprocess_attributes!(plotattributes::AKW) plotattributes[:colorbar] = convertLegendValue(plotattributes[:colorbar]) end + if haskey(plotattributes, :label) && plotattributes[:label] isa AbstractVector + plotattributes[:label] = permutedims(plotattributes[:label]) + end + # framestyle if haskey(plotattributes, :framestyle) && haskey(_framestyleAliases, plotattributes[:framestyle]) plotattributes[:framestyle] = _framestyleAliases[plotattributes[:framestyle]]