Skip to content

Commit 7890919

Browse files
authored
Add append! real method for compatibility
1 parent 9e4a490 commit 7890919

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PlotsBase/src/Plots.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Base.iterate(plt::Plot) = iterate(plt.subplots)
8686

8787
Base.push!(plt::Plot, args::Real...) = push!(plt, 1, args...)
8888
Base.push!(plt::Plot, i::Integer, args::Real...) = push!(plt.series_list[i], args...)
89+
Base.append!(plt::Plot, args::Real...) = append!(plt, 1, args...)
90+
Base.append!(plt::Plot, i::Integer, args::Real...) = append!(plt.series_list[i], args...)
8991
Base.append!(plt::Plot, args::AbstractVector...) = append!(plt, 1, args...)
9092
Base.append!(plt::Plot, i::Integer, args::AbstractVector...) = append!(plt.series_list[i], args...)
9193

0 commit comments

Comments
 (0)