Fix ambiguous comparision of label with 0
This commit is contained in:
parent
c6dd32105a
commit
a22edb8de9
@ -1639,7 +1639,7 @@ function _update_series_attributes!(plotattributes::AKW, plt::Plot, sp::Subplot)
|
|||||||
# set label
|
# set label
|
||||||
label = plotattributes[:label]
|
label = plotattributes[:label]
|
||||||
label = (label == "AUTO" ? "y$globalIndex" : label)
|
label = (label == "AUTO" ? "y$globalIndex" : label)
|
||||||
label = label == 0 ? "0" : label
|
label = label === 0 ? "0" : label
|
||||||
label = label in (:none, nothing, false) ? "" : label
|
label = label in (:none, nothing, false) ? "" : label
|
||||||
plotattributes[:label] = label
|
plotattributes[:label] = label
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user