From c76bde82af0b8a3b48fb120d5c3cbffaac6538ba Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sat, 24 Sep 2022 12:51:39 +0200 Subject: [PATCH] add test note --- test/test_recipes.jl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/test_recipes.jl b/test/test_recipes.jl index 7c03e29c22..7ba088ce3f 100644 --- a/test/test_recipes.jl +++ b/test/test_recipes.jl @@ -43,14 +43,17 @@ end @test length(sticks) == 1 end +# NOTE: the following test seems to trigger these deprecated warnings: +# WARNING: importing deprecated binding Colors.RGB1 into PlotUtils. +# WARNING: importing deprecated binding Colors.RGB1 into Plots. @testset "framestyle axes" begin pl = plot(-1:1, -1:1, -1:1) sp = pl.subplots[1] defaultret = Plots.axis_drawing_info_3d(sp, :x) - for letter in [:x, :y, :z] - for fr in [:box :semi :origin :zerolines :grid :none] + for letter in (:x, :y, :z) + for framestyle in [:box :semi :origin :zerolines :grid :none] prevha = UInt64(0) - push!(sp.attr, :framestyle => fr) + push!(sp.attr, :framestyle => framestyle) ret = Plots.axis_drawing_info_3d(sp, letter) ha = hash(string(ret)) @test ha != prevha