Skip to content

Commit 87b220e

Browse files
committed
Fix #2487
1 parent 407456e commit 87b220e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shorthands.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ julia> plot(1:10)
438438
julia> annotate!([(7,3,"(7,3)"),(3,7,text("hey", 14, :left, :top, :green))])
439439
```
440440
"""
441-
annotate!(anns...; kw...) = plot!(; annotation = anns, kw...)
441+
annotate!(anns...; kw...) = plot!(; annotation = collect(anns), kw...)
442442
annotate!(anns::AVec{T}; kw...) where {T<:Tuple} = plot!(; annotation = anns, kw...)
443443

444444
"Flip the current plots' x axis"

0 commit comments

Comments
 (0)