Skip to content

Commit 88388f8

Browse files
authored
typo in shell_layout example
1 parent 2f075b1 commit 88388f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ gplot(g, layout=spectral_layout)
121121
### shell layout
122122
```julia
123123
nlist = Vector{Vector{Int}}(undef, 2) # two shells
124-
nlist[1] = [1:5] # first shell
125-
nlist[2] = [6:nv(g)] # second shell
124+
nlist[1] = 1:5 # first shell
125+
nlist[2] = 6:nv(g) # second shell
126126
locs_x, locs_y = shell_layout(g, nlist)
127127
gplot(g, locs_x, locs_y, nodelabel=nodelabel)
128128
```

0 commit comments

Comments
 (0)