Skip to content

Commit

Permalink
Update makie_3d.md
Browse files Browse the repository at this point in the history
Fix issue where all plots were wglmakie plots
  • Loading branch information
VEZY committed Feb 17, 2022
1 parent 8c97931 commit 188e82a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/makie_3d.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ The default behavior of `viz(mtg)` -without providing colors- is to use the colo

```@example 2
using PlantGeom, CairoMakie
CairoMakie.activate!()
file = joinpath(dirname(dirname(pathof(PlantGeom))),"test","files","coffee.opf")
mtg = read_opf(file)
Expand Down Expand Up @@ -149,7 +150,7 @@ Of course all Makie commands are available. For example we can zoom-in the plot
```@example 2
f, ax, p = viz(mtg, color = :Area)
CairoMakie.scale!(p, 1.5, 1.5, 1.5) # we zoom-in a little bit
CairoMakie.Colorbar(f[1,2], label = :Area)
CairoMakie.Colorbar(f[1,2], label = "Area")
f
```

Expand Down

0 comments on commit 188e82a

Please sign in to comment.