Skip to content

Commit

Permalink
docs(testing single example block)
Browse files Browse the repository at this point in the history
  • Loading branch information
gottacatchenall committed Jan 24, 2025
1 parent 7c83ca4 commit ad9862b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244"
DocumenterTools = "35a29f4d-8980-5a13-9543-d66fff28ecb8"
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365"
GeoMakie = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
HaltonSequences = "13907d55-377f-55d6-a9d6-25ac19e11b95"
HiGHS = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NeutralLandscapes = "71847384-8354-4223-ac08-659a5128069f"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SimpleSDMLayers = "2c645270-77db-11e9-22c3-0f302a89c64c"
SliceMap = "82cb661a-3f19-5665-9e27-df437c7e54c8"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
SpeciesDistributionToolkit = "72b53823-5c0b-4575-ad0e-8e97227ad13b"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
12 changes: 1 addition & 11 deletions docs/src/samplers/simplerandom.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,14 @@ SimpleRandom

First, load the packages we will use for this example

```@example 1
```@example
using BiodiversityObservationNetworks
using CairoMakie
using GeoMakie
import SpeciesDistributionToolkit as SDT
```

Using a Polygon as the domain

```@example 1
num_nodes = 50
corsica = SDT.gadm("FRA", "Corse")
bon = sample(SimpleRandom(num_nodes), corsica)
```

Now plot

```@example 1
f = Figure(size=(500, 500))
bonplot(f[1,1], bon, corsica, axistype=GeoAxis)
f
Expand Down

0 comments on commit ad9862b

Please sign in to comment.