Skip to content

Commit

Permalink
remove makie extension funcs from API doc page
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE committed Jul 12, 2024
1 parent 7890966 commit 5742c39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,4 @@ lat_setu!
lat_getp
lat_setp!
rebuild_lat_internals!
```

The following functions can be used to create plots or animations of spatial simulations.
```@docs
lattice_animation
```
8 changes: 4 additions & 4 deletions test/spatial_modelling/lattice_simulation_plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ let
sol = solve(oprob, Tsit5())

# Attempts to animate the simulation (using various arguments). Deletes the saved file.
lattice_animation(sol, :X, "tmp.mp4", lrs; nframes = 10, framerate = 10, colormap = :BuGn_6)
@test isfile("tmp.mp4")
println(readdir())
rm("../tmp.jl")
lattice_animation(sol, :X, "animation_tmp.mp4", lrs; nframes = 10, framerate = 10, colormap = :BuGn_6)
@test isfile("animation_tmp.mp4")
rm("animation_tmp.mp4")
end

0 comments on commit 5742c39

Please sign in to comment.