-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
JuliaPlots/Plots.jl
#5632Description
The code below generates error
using Plots
gaston()
x = range(0, 0.5, length = 100)
y = sin.(2*pi*10*x)
plot(x, y)
Output on Julia REPL
┌ Warning: `Gaston` 2.0.0 is not compatible with this version of `Plots`. The declared compatibility is 1.
└ @ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\backends.jl:55
ERROR: UndefVarError: `newfigure` not defined in `Gaston`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
[1] _create_backend_figure(plt::Plots.Plot{Plots.GastonBackend})
@ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\backends\gaston.jl:8
[2] #invokelatest#2
@ .\essentials.jl:1055 [inlined]
[3] invokelatest
@ .\essentials.jl:1052 [inlined]
[4] _plot_setup(plt::Plots.Plot{Plots.GastonBackend}, plotattributes::Dict{Symbol, Any}, kw_list::Vector{Dict{Symbol, Any}})
@ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\pipeline.jl:205
[5] plot_setup!(plt::Plots.Plot{Plots.GastonBackend}, plotattributes::Dict{Symbol, Any}, kw_list::Vector{Dict{Symbol, Any}})
@ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\pipeline.jl:148
[6] recipe_pipeline!(plt::Any, plotattributes::Any, args::Any)
@ RecipesPipeline C:\Users\HP\.julia\packages\RecipesPipeline\BGM3l\src\RecipesPipeline.jl:89
[7] _plot!(plt::Plots.Plot, plotattributes::Any, args::Any)
@ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\plot.jl:223
[8] plot(::Any, ::Vararg{Any}; kw...)
@ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\plot.jl:102
[9] plot(::Any, ::Any)
@ Plots C:\Users\HP\.julia\packages\Plots\iPlTg\src\plot.jl:93
[10] top-level scope
@ REPL[5]:1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels