allow titles as vector
This commit is contained in:
parent
1b3446a7dd
commit
4e7633194d
@ -1103,8 +1103,11 @@ 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
|
# transpose vectors that are most certainly meant as row vector inputs
|
||||||
plotattributes[:label] = permutedims(plotattributes[:label])
|
for k in (:label, :title)
|
||||||
|
if haskey(plotattributes, k) && plotattributes[k] isa AbstractVector
|
||||||
|
plotattributes[k] = permutedims(plotattributes[k])
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# framestyle
|
# framestyle
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user