Skip to content

Commit 50926a7

Browse files
committed
Minor fixes
1 parent d2ed696 commit 50926a7

File tree

7 files changed

+4
-34
lines changed

7 files changed

+4
-34
lines changed

docs/src/howto/LightSources.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ Given the azimuth and zenith angles and the local coordinate system, the directi
6262
ray can be computed using the `polar_to_cartesian` function provided by the package
6363
PlantRayTracer within VPL.
6464

65-
```julia
66-
import PlantRayTracer as PRT
67-
dir = PRT.polar_to_cartesian((e1 = X, e2 = Y, n = Z), θ, Φ)
68-
```
69-
7065
The function `polar_to_cartesian` will perform the necessary conversions and ensure that the
7166
resulting direction vector meets the expectations of the ray tracer within VPL. The user
7267
thus only needs to specify distributions for the azimuth and zenith angles and generate the

docs/src/howto/Materials.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,3 @@ tile.colors = RGB.(0.0, α, 0.0)
100100
sc = Mesh(g)
101101
render(sc, wireframe = true, shading = GLMakie.NoShading)
102102
```
103-
104-
---
105-
106-
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*

docs/src/howto/Traversal.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
# Traversing a graph
12

3+
Alejandro Morales
24

3-
# Traversing a graph
5+
Centre for Crop Systems Analysis - Wageningen University
46

57
In this guide we will see how to address one possible situation where there is need to
68
traverse a graph to accumulate information in a relational manner. The key idea in this
@@ -164,8 +166,3 @@ draw(g)
164166
## Ad-hoc traversal
165167

166168
*Work in progress*
167-
168-
---
169-
170-
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*
171-

docs/src/tutorials/getting_started/algae.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,3 @@ The network is rather boring as the system is growing linearly (no branching)
157157
but it already illustrates how graphs can grow rapidly in just a few iterations.
158158
Remember that the interactive visualization allows adjusting the zoom, which is
159159
handy when graphs become large.
160-
161-
---
162-
163-
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*
164-

docs/src/tutorials/getting_started/snowflakes.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ to generate random colors.
120120
function VirtualPlantLab.feed!(turtle::Turtle, e::sn.E, vars)
121121
HollowCylinder!(turtle, length = e.length, width = e.length/10,
122122
height = e.length/10, move = true,
123-
colors = RGB(rand(), rand(), rand()))
123+
colors = rand(RGB))
124124
return nothing
125125
end
126126
```
@@ -229,7 +229,3 @@ Third iteration
229229
rewrite!(Cesaro)
230230
render(Mesh(Cesaro), axes = false)
231231
```
232-
233-
---
234-
235-
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*

docs/src/tutorials/more_rules_queries/context.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,3 @@ states = Int64[]
112112
traverse_dfs(pop, fun = node -> push!(states, node.state))
113113
states
114114
```
115-
116-
---
117-
118-
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*
119-

docs/src/tutorials/more_rules_queries/relationalqueries.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,3 @@ end
329329
Q12 = Query(Q.B, condition = Q12_fun)
330330
A12 = apply(graph, Q12)
331331
```
332-
333-
---
334-
335-
*This page was generated using [Literate.jl](https://github.com/fredrikekre/Literate.jl).*

0 commit comments

Comments
 (0)