Skip to content

Commit 630d63a

Browse files
committed
README: improve plot_structure_makie code description
1 parent 190cbf0 commit 630d63a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,15 @@ plot_structure(dbn; sequence=seq,
4646

4747
There is also an experimental `PlotRNA.plot_structure_makie` which
4848
looks a bit nicer but currently has a rather large time to first plot
49-
(28 seconds). Subsequent plots are very fast though. To use this
50-
function, you must load CairoMakie before PlotRNA: `using CairoMakie,
51-
PlotRNA` (code using CairoMakie is only loaded optionally with
52-
Requires.jl, as otherwise PlotRNA's package load time is a lot
53-
higher).
49+
(about 30 seconds). Subsequent plots are very fast though. To use this
50+
function, you must load CairoMakie before PlotRNA. Code using
51+
CairoMakie is only loaded optionally with Requires.jl, as otherwise
52+
PlotRNA's package load time is a lot higher.
53+
54+
```julia
55+
using CairoMakie, PlotRNA
56+
PlotRNA.plot_structure_makie("(((...)))")
57+
```
5458

5559

5660
### Plot structures with VARNA

0 commit comments

Comments
 (0)