JuliaApproximation / JuliaApproximation/ContinuumArrays.jl
Plot quasivector
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 31
- Forks
- 6
- Avg merge
- 9d 22h
- Merged PRs (30d)
- 2
Description
julia> plot(Inclusion(-1..1))
ERROR: Overload Grid
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] _grid(#unused#::QuasiArrays.PolynomialLayout, P::Inclusion{Float64, IntervalSets.ClosedInterval{Int64}}, n::Int64)
@ ContinuumArrays C:\Users\pty\.julia\packages\ContinuumArrays\pWRm2\src\bases\bases.jl:154
[3] grid(P::Inclusion{Float64, IntervalSets.ClosedInterval{Int64}}, n::Int64)
@ ContinuumArrays C:\Users\pty\.julia\packages\ContinuumArrays\pWRm2\src\bases\bases.jl:170
[4] _plotgrid(lay::QuasiArrays.PolynomialLayout, P::Inclusion{Float64, IntervalSets.ClosedInterval{Int64}}, n::Int64) (repeats 2 times)
@ ContinuumArrays C:\Users\pty\.julia\packages\ContinuumArrays\pWRm2\src\plotting.jl:14
[5] plotgrid(::Inclusion{Float64, IntervalSets.ClosedInterval{Int64}})
@ ContinuumArrays C:\Users\pty\.julia\packages\ContinuumArrays\pWRm2\src\plotting.jl:13
[6] plotgridvalues(g::Inclusion{Float64, IntervalSets.ClosedInterval{Int64}})
@ ContinuumArrays C:\Users\pty\.julia\packages\ContinuumArrays\pWRm2\src\plotting.jl:38
[7] macro expansion
@ C:\Users\pty\.julia\packages\ContinuumArrays\pWRm2\src\plotting.jl:43 [inlined]
[8] apply_recipe(plotattributes::AbstractDict{Symbol, Any}, g::QuasiArrays.AbstractQuasiArray)
@ ContinuumArrays C:\Users\pty\.julia\packages\RecipesBase\z10lo\src\RecipesBase.jl:300
[9] _process_userrecipes!(plt::Any, plotattributes::Any, args::Any)
@ RecipesPipeline C:\Users\pty\.julia\packages\RecipesPipeline\XxUHt\src\user_recipe.jl:38
[10] recipe_pipeline!(plt::Any, plotattributes::Any, args::Any)
@ RecipesPipeline C:\Users\pty\.julia\packages\RecipesPipeline\XxUHt\src\RecipesPipeline.jl:72
[11] _plot!(plt::Plots.Plot, plotattributes::Any, args::Any)
@ Plots C:\Users\pty\.julia\packages\Plots\9Q9pN\src\plot.jl:223
[12] plot(args::Any; kw::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
@ Plots C:\Users\pty\.julia\packages\Plots\9Q9pN\src\plot.jl:102
[13] plot(args::Any)
@ Plots C:\Users\pty\.julia\packages\Plots\9Q9pN\src\plot.jl:93
[14] top-level scope
@ REPL[12]:1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce plot(Inclusion(-1..1)) in Julia and start with src/plotting.jl, which calls plotgrid, then inspect _grid in src/bases/bases.jl at the failing stack-trace location. Trace why the Inclusion polynomial layout reaches the Overload Grid error; done means the quasivector plots without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100