Remove type annotations for series indexes
This commit is contained in:
parent
87f2b961fb
commit
2199a100a2
10
src/args.jl
10
src/args.jl
@ -1569,11 +1569,11 @@ function _slice_series_args!(plotattributes::AKW, plt::Plot, sp::Subplot, comman
|
|||||||
return plotattributes
|
return plotattributes
|
||||||
end
|
end
|
||||||
|
|
||||||
label_to_string(label::Bool, series_plotindex::Int) = label ? label_to_string(:auto, series_plotindex) : ""
|
label_to_string(label::Bool, series_plotindex) = label ? label_to_string(:auto, series_plotindex) : ""
|
||||||
label_to_string(label::Nothing, series_plotindex::Int) = ""
|
label_to_string(label::Nothing, series_plotindex) = ""
|
||||||
label_to_string(label::Missing, series_plotindex::Int) = ""
|
label_to_string(label::Missing, series_plotindex) = ""
|
||||||
label_to_string(label::Symbol, series_plotindex::Int) = label==:auto ? "y$series_plotindex" : string((label==:none ? "" : label))
|
label_to_string(label::Symbol, series_plotindex) = label==:auto ? "y$series_plotindex" : string((label==:none ? "" : label))
|
||||||
label_to_string(label, series_plotindex::Int) = string(label) # Fallback to string promotion
|
label_to_string(label, series_plotindex) = string(label) # Fallback to string promotion
|
||||||
function _update_series_attributes!(plotattributes::AKW, plt::Plot, sp::Subplot)
|
function _update_series_attributes!(plotattributes::AKW, plt::Plot, sp::Subplot)
|
||||||
pkg = plt.backend
|
pkg = plt.backend
|
||||||
globalIndex = plotattributes[:series_plotindex]
|
globalIndex = plotattributes[:series_plotindex]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user