From 3e6233712bcf722929960273b733e2a9fb0ca9f7 Mon Sep 17 00:00:00 2001 From: Lakshya Khatri Date: Thu, 2 Jul 2020 18:30:51 +0530 Subject: [PATCH] Replace label conversion code with shorter version --- src/args.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/args.jl b/src/args.jl index a0aab158..5ced33ce 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1642,9 +1642,7 @@ function _update_series_attributes!(plotattributes::AKW, plt::Plot, sp::Subplot) end # set label - label = plotattributes[:label] - label = label_to_string(label, globalIndex) - plotattributes[:label] = label + plotattributes[:label] = label_to_string(plotattributes[:label], globalIndex) _replace_linewidth(plotattributes) plotattributes