From 5742c39863e19d3bdc1d8631a375f1317036254e Mon Sep 17 00:00:00 2001 From: Torkel Date: Fri, 12 Jul 2024 09:37:03 -0400 Subject: [PATCH] remove makie extension funcs from API doc page --- docs/src/api.md | 5 ----- test/spatial_modelling/lattice_simulation_plotting.jl | 8 ++++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/src/api.md b/docs/src/api.md index a565679931..5868afe400 100644 --- a/docs/src/api.md +++ b/docs/src/api.md @@ -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 ``` \ No newline at end of file diff --git a/test/spatial_modelling/lattice_simulation_plotting.jl b/test/spatial_modelling/lattice_simulation_plotting.jl index fd086dcc04..7e29eaa67c 100644 --- a/test/spatial_modelling/lattice_simulation_plotting.jl +++ b/test/spatial_modelling/lattice_simulation_plotting.jl @@ -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 +