Skip to content

SciML Tutorial attempts to simultaneously use keywords vars and idxs in Plot, which is not supported. #531

Open
@djinnome

Description

@djinnome

When I try to plot the first 250 trajectories, according to the SciML tutorial:

plot(ensemblesol, vars = (0,1), lw=1,alpha=0.1, label=nothing, idxs = 1:250)

I get this error:

Simultaneously using keywords vars and idxs is not supported. Please only use idxs.

Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] macro expansion
   @ ~/.julia/packages/SciMLBase/UY87O/src/solutions/solution_interface.jl:189 [inlined]
 [3] apply_recipe(plotattributes::AbstractDict{Symbol, Any}, sol::SciMLBase.AbstractTimeseriesSolution)
   @ SciMLBase ~/.julia/packages/RecipesBase/qpxEX/src/RecipesBase.jl:289
 [4] _process_userrecipes!(plt::Any, plotattributes::Any, args::Any)
   @ RecipesPipeline ~/.julia/packages/RecipesPipeline/OXGmH/src/user_recipe.jl:36
 [5] recipe_pipeline!(plt::Any, plotattributes::Any, args::Any)
   @ RecipesPipeline ~/.julia/packages/RecipesPipeline/OXGmH/src/RecipesPipeline.jl:70
 [6] _plot!(plt::Plots.Plot, plotattributes::Any, args::Any)
   @ Plots ~/.julia/packages/Plots/lW9ll/src/plot.jl:209
 [7] #plot#145
   @ ~/.julia/packages/Plots/lW9ll/src/plot.jl:91 [inlined]
 [8] top-level scope
   @ ~/Projects/Proposals/ASKEM/SciMLTutorials.jl/tutorials/DiffEqUncertainty/01-expectation_introduction.jmd.ipynb:2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions