From 8011c9f675b953837366ea6490e2e2fec9ca4ec5 Mon Sep 17 00:00:00 2001 From: daschw Date: Mon, 27 Jan 2020 21:30:05 +0100 Subject: [PATCH] Allow `label = nothing, :none, false` --- src/args.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/args.jl b/src/args.jl index a6f0f41d..df06942a 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1643,6 +1643,7 @@ function _update_series_attributes!(plotattributes::KW, plt::Plot, sp::Subplot) # set label label = plotattributes[:label] label = (label == "AUTO" ? "y$globalIndex" : label) + label = label in (:none, nothing, false) ? "" : label plotattributes[:label] = label _replace_linewidth(plotattributes)