Repository: JuliaPlots/Plots.jl

Issue #318: PGFPlots meta-issue
Created: 2016-06-10T14:46:59Z
clims (#293)
 pgfplots setup/install automation? (#134)
 line segments, line_z (#218)
 handle discrete axes
 dpi (#173)
 ticks (#434)
 fillrange: plot(randn(10), fillrange=randn(10)+2)
 ribbon: plot(randn(10), ribbon = (2,1))

Duplicate issue #2391: Ribbon not working on PGFPlots
Created: 2020-02-10T19:25:42Z
julia> using Plots

julia> pgfplots()
Plots.PGFPlotsBackend()

julia> plot(rand(10), ribbon = 0.1)
Error showing value of type Plots.Plot{Plots.PGFPlotsBackend}:
ERROR: MethodError: no method matching PGFPlots.Plots.Linear(::Array{Int64,1}, ::Array{Any,1}; style="line width = 0,draw opacity = 0,fill = {rgb,1:red,0.00000000;green,0.60560316;blue,0.97868012}, fill opacity=0.5,mark = none,\nmark size = 2.1,\nmark options = {\n            color = {rgb,1:red,0.00000000;green,0.00000000;blue,0.00000000}, draw opacity = 1.0,\n            fill = {rgb,1:red,0.00000000;green,0.60560316;blue,0.97868012}, fill opacity = 1.0,\n            line width = 1.05,\n            rotate = 0,\n            solid\n        },forget plot")
Closest candidates are:
  PGFPlots.Plots.Linear(::AbstractArray{A,1}; kwargs...) where A<:Real at /home/daniel/.julia/packages/PGFPlots/kx5vI/src/plots.jl:30
  PGFPlots.Plots.Linear(::AbstractArray{A,1}, ::AbstractArray{B,1}; kwargs...) where {A<:Real, B<:Real} at /home/daniel/.julia/packages/PGFPlots/kx5vI/src/plots.jl:29
Stacktrace:
 [1] pgf_fillrange_series(::Plots.Series, ::Int64, ::Array{Tuple{Array{Float64,1},Array{Float64,1}},1}, ::UnitRange{Int64}, ::Vararg{Any,N} where N) at /home/daniel/.julia/dev/Plots/src/backends/pgfplots.jl:275
 [2] pgf_series(::Plots.Subplot{Plots.PGFPlotsBackend}, ::Plots.Series) at /home/daniel/.julia/dev/Plots/src/backends/pgfplots.jl:244
 [3] _update_plot_object(::Plots.Plot{Plots.PGFPlotsBackend}) at /home/daniel/.julia/dev/Plots/src/backends/pgfplots.jl:542
 [4] prepare_output(::Plots.Plot{Plots.PGFPlotsBackend}) at /home/daniel/.julia/dev/Plots/src/plot.jl:272
 [5] showjuno(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::MIME{Symbol("image/svg+xml")}, ::Plots.Plot{Plots.PGFPlotsBackend}) at /home/daniel/.julia/dev/Plots/src/output.jl:247
 [6] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::MIME{Symbol("image/svg+xml")}, ::Plots.Plot{Plots.PGFPlotsBackend}) at /home/daniel/.julia/dev/Plots/src/output.jl:196
 [7] __binrepr at ./multimedia.jl:159 [inlined]
 [8] _textrepr at ./multimedia.jl:149 [inlined]
 [9] #stringmime#6 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Base64/src/Base64.jl:43 [inlined]
 [10] (::Base64.var"#kw##stringmime")(::NamedTuple{(:context,),Tuple{IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}}}, ::typeof(Base64.stringmime), ::MIME{Symbol("image/svg+xml")}, ::Plots.Plot{Plots.PGFPlotsBackend}) at ./none:0
 [11] #stringmime#7(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::typeof(Base64.stringmime), ::String, ::Plots.Plot{Plots.PGFPlotsBackend}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Base64/src/Base64.jl:44
 [12] #stringmime at ./none:0 [inlined]
 [13] displayinplotpane(::Plots.Plot{Plots.PGFPlotsBackend}) at /home/daniel/.julia/packages/Atom/lBERI/src/display/showdisplay.jl:65
 [14] display(::Atom.JunoDisplay, ::Plots.Plot{Plots.PGFPlotsBackend}) at /home/daniel/.julia/packages/Atom/lBERI/src/display/showdisplay.jl:112
 [15] display(::Any) at ./multimedia.jl:323

Closing comment (2020-02-10T20:47:37Z): duplicate of #318