Broadcast label_to_string to handle Array of labels

Co-authored-by: Simon Christ <SimonChrist@gmx.de>
This commit is contained in:
Lakshya Khatri 2020-07-02 19:03:14 +05:30 committed by GitHub
parent 22e43610e2
commit 07bebc60be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1651,7 +1651,7 @@ function _update_series_attributes!(plotattributes::AKW, plt::Plot, sp::Subplot)
end
# set label
plotattributes[:label] = label_to_string(plotattributes[:label], globalIndex)
plotattributes[:label] = label_to_string.(plotattributes[:label], globalIndex)
_replace_linewidth(plotattributes)
plotattributes