Skip to content

Commit

Permalink
Change the plot recipe a bit; but the error is not fixed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Oct 30, 2023
1 parent 1e1e050 commit 082e889
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/solution_plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
)
if vars !== nothing
Base.depwarn(
"To maintain consistency with solution indexing, keyword argument vars will be removed in a future version. Please use keyword argument idxs instead.",
"To maintain consistency with solution indexing, keyword argument `vars` will be removed in a future version. Please use keyword argument `idxs` instead.",
:f; force=true)
(idxs !== nothing) &&
error(
"Simultaneously using keywords vars and idxs is not supported. Please only use idxs.",
"Simultaneously using keywords `vars` and `idxs` is not supported. Please only use idxs.",
)
idxs = vars
end
Expand Down Expand Up @@ -62,7 +62,7 @@
end
return _x, _y, _z
else
error("Error with `vars` argument")
error("Error with `idxs` argument")
end
end
end

0 comments on commit 082e889

Please sign in to comment.