We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5a5f8c commit a50362bCopy full SHA for a50362b
src/plotting.jl
@@ -15,7 +15,7 @@ function Plots.plot(m::Model, component::Symbol, parameter::Symbol ; index::Symb
15
if legend==nothing && isa(values, Array) && ndims(values)==2
16
a = getindexlabels(m, component, parameter)
17
a = Iterators.filter(i->i!=index, a)
18
- legend = a[1]
+ legend = first(a)
19
end
20
21
# Create axis labels
0 commit comments