Plots.jl/test/test_layouts.jl
Simon Christ 9d1bda9c8d fix scale warnings for layouts (#3992)
* fix scale warnings for layouts

* don't run ci twice on PR

* use broadcasting for scalar case
2022-01-16 22:57:53 +09:00

10 lines
323 B
Julia

using Plots, Test
@testset "Subplot sclicing" begin
pl = @test_nowarn plot(rand(4,8), layout=4, yscale=[:identity :identity :log10 :log10])
@test pl[1][:yaxis][:scale] == :identity
@test pl[2][:yaxis][:scale] == :identity
@test pl[3][:yaxis][:scale] == :log10
@test pl[4][:yaxis][:scale] == :log10
end