From 62644597d2c56956beccad856db7fdfa446d9b1b Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 1 Jun 2021 17:49:47 +0200 Subject: [PATCH] symbolic color is okay --- test/test_defaults.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test_defaults.jl b/test/test_defaults.jl index 2140561e..b4207420 100644 --- a/test/test_defaults.jl +++ b/test/test_defaults.jl @@ -54,8 +54,7 @@ end # testset @test p[1][:legend_font_halign] == :left @test p[1][:legend_font_valign] == :top @test p[1][:legend_font_rotation] == 1.0 - # This propagates :red - @test_broken p[1][:legend_font_color] == RGB{Colors.N0f8}(1.0,0.0,0.0) + @test p[1][:legend_font_color] == :red @test p[1][:legend_position] == :outertopleft @test p[1][:legend_title] == "The legend" @test p[1][:legend_title_font_family] == "helvetica" @@ -63,8 +62,7 @@ end # testset @test p[1][:legend_title_font_halign] == :right @test p[1][:legend_title_font_valign] == :bottom @test p[1][:legend_title_font_rotation] == -5.2 - # This currently propagates "blue" - @test_broken p[1][:legend_title_font_color] == RGB{Colors.N0f8}(0.0,0.0,1.0) + @test p[1][:legend_title_font_color] == :blue @test p[1][:legend_background_color] == RGBA{Float64}(0.0,1.0,1.0,1.0) @test p[1][:legend_foreground_color] == RGBA{Float64}(0.0,0.5019607843137255,0.0,1.0) end # testset