Bump minor version + add tests
This commit is contained in:
parent
98b7ba1cd7
commit
3ea4449495
@ -1,7 +1,7 @@
|
|||||||
name = "Plots"
|
name = "Plots"
|
||||||
uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
|
uuid = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
|
||||||
author = ["Tom Breloff (@tbreloff)"]
|
author = ["Tom Breloff (@tbreloff)"]
|
||||||
version = "1.11.2"
|
version = "1.12.0"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
|
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
|
||||||
|
|||||||
@ -21,3 +21,12 @@ end # testset
|
|||||||
@test Plots.get_ticks(p2[1], p2[1][:xaxis])[2] == string.('C':3:'Z')
|
@test Plots.get_ticks(p2[1], p2[1][:xaxis])[2] == string.('C':3:'Z')
|
||||||
@test Plots.get_ticks(p3[1], p3[1][:xaxis])[2] == string.('A':'Z')
|
@test Plots.get_ticks(p3[1], p3[1][:xaxis])[2] == string.('A':'Z')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@testset "Ticks getter functions" begin
|
||||||
|
ticks1 = ([1,2,3], ("a","b","c"))
|
||||||
|
ticks2 = ([4,5], ("e","f"))
|
||||||
|
p1 = plot(1:5, 1:5, 1:5, xticks=ticks1, yticks=ticks1, zticks=ticks1)
|
||||||
|
p2 = plot(1:5, 1:5, 1:5, xticks=ticks2, yticks=ticks2, zticks=ticks2)
|
||||||
|
p = plot(p1, p2)
|
||||||
|
@test xticks(p) == yticks(p) == zticks(p) == [ticks1, ticks2]
|
||||||
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user