Replace label conversion code with shorter version

This commit is contained in:
Lakshya Khatri 2020-07-02 18:30:51 +05:30
parent 2199a100a2
commit 3e6233712b

View File

@ -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