Skip to content

Commit f903952

Browse files
committed
drop more GLMakie instances
1 parent 1e88899 commit f903952

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Documenter
22
using Catalyst, ModelingToolkit
33
# Add packages for plotting
4-
using GraphMakie, GLMakie
4+
using GraphMakie, CairoMakie
55

66
docpath = Base.source_dir()
77
assetpath = joinpath(docpath, "src", "assets")

docs/src/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ displayed as the ODE form)
292292

293293
Finally, another optional argument (`expand_functions=true`) automatically expands functions defined by Catalyst (such as `mm`). To disable this, set `expand_functions=false`.
294294

295-
Reaction networks can be plotted using the `GraphMakie` extension, which is loaded whenever both `Catalyst` and `GraphMakie` are loaded (note that a Makie backend, like `GLMakie`, must be loaded as well). The two functions for plotting networks are `plot_network` and `plot_complexes`, which are two distinct representations.
295+
Reaction networks can be plotted using the `GraphMakie` extension, which is loaded whenever all of `Catalyst`, `GraphMakie`, and `NetworkLayout` are loaded (note that a Makie backend, like `CairoMakie`, must be loaded as well). The two functions for plotting networks are `plot_network` and `plot_complexes`, which are two distinct representations.
296296
```@docs
297297
plot_network(::ReactionSystem)
298298
plot_complexes(::ReactionSystem)

docs/src/introduction_to_catalyst/introduction_to_catalyst.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ latexify(rn)
8282
rn #hide
8383
```
8484
Catalyst also has functionality for visualizing networks using the [Makie](https://docs.makie.org/stable/)
85-
plotting ecosystem. The relevant packages to load are Catalyst, GraphMakie, and a Makie backend
86-
such as GLMakie. Doing so and then using the `plot_network` function allows us to
85+
plotting ecosystem. The relevant packages to load are Catalyst, GraphMakie, NetworkLayout, and a Makie backend
86+
such as CairoMakie. Doing so and then using the `plot_network` function allows us to
8787
visualize the network:
8888
```@example tut1
8989
using Catalyst
90-
import GLMakie, GraphMakie
90+
import CairoMakie, GraphMakie, NetworkLayout
9191
g = plot_network(rn)
9292
```
9393

0 commit comments

Comments
 (0)