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 769f285 commit 31920bbCopy full SHA for 31920bb
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) = 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