Skip to content

Commit 465d170

Browse files
committed
resolution -> size
1 parent ccd223a commit 465d170

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All example images on this page are created using [`Makie.jl`](https://github.co
1010
```@example layouts
1111
using CairoMakie
1212
CairoMakie.activate!(type="png") # hide
13-
set_theme!(resolution=(800, 400)) #hide
13+
set_theme!(size=(800, 400)) #hide
1414
using NetworkLayout
1515
using GraphMakie, Graphs
1616
nothing #hide
@@ -167,7 +167,7 @@ hidedecorations!(ax); hidespines!(ax); f #hide
167167
f #hide
168168
```
169169
```@example layouts
170-
set_theme!(resolution=(800, 800)) #hide
170+
set_theme!(size=(800, 800)) #hide
171171
using Random; Random.seed!(5) # hide
172172
layout = Spectral()
173173
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)
205205
sfdpl = SFDP(;initialpos, pin, tol=0.0)
206206
stressl = Stress(;initialpos, pin, reltols=0.0, abstolx=0.0, iterations=100)
207207
208-
f = Figure(resolution=(1200,500))
208+
f = Figure(size=(1200,500))
209209
ax1 = f[1,1] = Axis(f; title="Spring")
210210
ax2 = f[1,2] = Axis(f; title="SFDP")
211211
ax3 = f[1,3] = Axis(f; title="Stress")

0 commit comments

Comments
 (0)