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.
2 parents 85f907b + 31920bb commit 99d9e45Copy full SHA for 99d9e45
src/solutions/solution_interface.jl
@@ -209,7 +209,8 @@ indices that can be plotted as continuous variables. This is useful for systems
209
that store auxiliary variables in the state vector which are not meant to be
210
used for plotting.
211
"""
212
-plottable_indices(x::AbstractArray) = 1:length(x)
+plottable_indices(x:: AbstractArray) = 1:length(x)
213
+plottable_indices(x::Number) = 1
214
215
@recipe function f(sol::AbstractTimeseriesSolution;
216
plot_analytic = false,
0 commit comments