Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Nov 23, 2024
1 parent 5ece6af commit f3eb413
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/introduction_to_catalyst/introduction_to_catalyst.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ plotting ecosystem. The relevant packages to load are Catalyst, GraphMakie, and
such as GLMakie. Doing so and then using the `plot_network` function allows us to
visualize the network:
```@example tut1
using Catalyst, GraphMakie, GLMakie
using Catalyst
import GLMakie, GraphMakie
g = plot_network(rn)
```

Expand Down Expand Up @@ -179,10 +180,9 @@ At this point we are all set to solve the ODEs. We can now use any ODE solver
from within the
[OrdinaryDiffEq.jl](https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/)
package. We'll use the recommended default explicit solver, `Tsit5()`, and then
plot the solutions (we have imported `plot` to avoid ambiguity with GLMakie):
plot the solutions:

```@example tut1
import Plots: plot
sol = solve(oprob, Tsit5(), saveat=10.0)
plot(sol)
```
Expand Down

0 comments on commit f3eb413

Please sign in to comment.