add slicing of tuples of matrices for plotattributes (#4109)

* add slicing of tuples of matrices

* remove dot

* format files
This commit is contained in:
Simon Christ
2022-02-18 21:12:44 +01:00
committed by GitHub
parent ed9f0bcab3
commit 51358717ee
2 changed files with 9 additions and 5 deletions
+2
View File
@@ -32,5 +32,7 @@ end
@test plot(data4; NamedTuple{tuple(attribute)}(Ref(mat))...)[1][i][attribute] ==
[2(i - 1) + 1, 2i]
end
@test plot(data4, ribbon = (mat, mat))[1][i][:ribbon] ==
([2(i - 1) + 1, 2i], [2(i - 1) + 1, 2i])
end
end