@@ -10,7 +10,7 @@ All example images on this page are created using [`Makie.jl`](https://github.co
10
10
``` @example layouts
11
11
using CairoMakie
12
12
CairoMakie.activate!(type="png") # hide
13
- set_theme!(resolution =(800, 400)) #hide
13
+ set_theme!(size =(800, 400)) #hide
14
14
using NetworkLayout
15
15
using GraphMakie, Graphs
16
16
nothing #hide
@@ -167,7 +167,7 @@ hidedecorations!(ax); hidespines!(ax); f #hide
167
167
f #hide
168
168
```
169
169
``` @example layouts
170
- set_theme!(resolution =(800, 800)) #hide
170
+ set_theme!(size =(800, 800)) #hide
171
171
using Random; Random.seed!(5) # hide
172
172
layout = Spectral()
173
173
f, ax, p = graphplot(g, layout=layout, node_size=0.0, edge_width=1.0)
@@ -205,7 +205,7 @@ springl = Spring(;initialpos, pin, seed=2)
205
205
sfdpl = SFDP(;initialpos, pin, tol=0.0)
206
206
stressl = Stress(;initialpos, pin, reltols=0.0, abstolx=0.0, iterations=100)
207
207
208
- f = Figure(resolution =(1200,500))
208
+ f = Figure(size =(1200,500))
209
209
ax1 = f[1,1] = Axis(f; title="Spring")
210
210
ax2 = f[1,2] = Axis(f; title="SFDP")
211
211
ax3 = f[1,3] = Axis(f; title="Stress")
0 commit comments