Comments (1)
I just came across what I assume to be the same bug when using heatmap(x, y, values)
. The error only appears when the x
and y
arguments are provided and the element type of the values
includes Missing
. I can reproduce it in a fresh environment and downgrading to Makie 0.19 fixes the issue, so it looks like the bug was introduced recently.
julia> heatmap(1:8, 1:8, zeros(Union{Missing,Float64}, 8, 8));
ERROR: StackOverflowError:
Stacktrace:
[1] splitprec(::Type{Float64}, i::Int128)
@ Base ./twiceprecision.jl:22
[2] TwicePrecision
@ Base ./twiceprecision.jl:211 [inlined]
[3] TwicePrecision
@ Base ./twiceprecision.jl:224 [inlined]
[4] Base.TwicePrecision{Float64}(nd::Tuple{Int128, Int128}, nb::Int64)
@ Base ./twiceprecision.jl:236
[5] steprangelen_hp(::Type{Float64}, ref::Tuple{Int128, Int128}, step::Tuple{Int128, Int128}, nb::Int64, len::Int64, offset::Int64)
@ Base ./twiceprecision.jl:344
[6] _linspace(::Type{Float64}, start_n::Int64, stop_n::Int64, len::Int64, den::Int64)
@ Base ./twiceprecision.jl:732
[7] range_start_stop_length(start::Float64, stop::Float64, len::Int64)
@ Base ./twiceprecision.jl:662
[8] _range
@ ./range.jl:166 [inlined]
[9] range
@ ./range.jl:147 [inlined]
[10] to_linspace(interval::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}, N::Int64)
@ Makie ~/.julia/packages/Makie/fyNiH/src/conversions.jl:709
[11] convert_arguments(P::CellGrid, x::StepRangeLen{…}, y::StepRangeLen{…}, z::Matrix{…}) (repeats 58109 times)
@ Makie ~/.julia/packages/Makie/fyNiH/src/conversions.jl:364
[12] convert_arguments(P::CellGrid, x::UnitRange{Int64}, y::UnitRange{Int64}, z::Matrix{Union{Missing, Float64}})
@ Makie ~/.julia/packages/Makie/fyNiH/src/conversions.jl:364
[13] convert_arguments(::Type{Heatmap}, ::UnitRange{Int64}, ::Vararg{Any}; kw::@Kwargs{})
@ Makie ~/.julia/packages/Makie/fyNiH/src/conversions.jl:10
[14] convert_arguments
@ Makie ~/.julia/packages/Makie/fyNiH/src/conversions.jl:7 [inlined]
[15] (Heatmap)(args::Tuple{UnitRange{Int64}, UnitRange{Int64}, Matrix{Union{Missing, Float64}}}, plot_attributes::Dict{Symbol, Any})
@ Makie ~/.julia/packages/Makie/fyNiH/src/interfaces.jl:139
[16] _create_plot(::Function, ::Dict{Symbol, Any}, ::UnitRange{Int64}, ::Vararg{Any})
@ Makie ~/.julia/packages/Makie/fyNiH/src/figureplotting.jl:248
[17] heatmap(::UnitRange{Int64}, ::Vararg{Any}; kw::@Kwargs{})
@ MakieCore ~/.julia/packages/MakieCore/5nuEY/src/recipes.jl:175
[18] top-level scope
@ REPL[4]:1
Some type information was truncated. Use `show(err)` to see complete types.
from makie.jl.
Related Issues (20)
- GLMakie broken on 1.11 branch and nightly HOT 5
- Wrong whiskers in boxplot HOT 3
- WGLMakie exportable and interactable Axis3 HOT 1
- Labels don't make sense for barplots in horizontal mode
- DataInspector bounding boxes in `meshscatter` do not transform correctly with `rotations` + `markersize` HOT 1
- Strange behavior when inspecting lines in WGLMakie
- Suggestions for new features needed in `boxplot` HOT 1
- Wayland support
- Add a docstring for Legend
- Add `axislegend!`
- Documentation should be more specific on inputs
- Remove twitter link from Readme
- Broken fonts and plots with GLMakie after using PackageCompiler HOT 2
- `mesh!` ignores color with GLMakie HOT 2
- `contourf` bug
- programmatic mouse click HOT 5
- Change ticks on Categorical colorbar
- Makie.jl linked axis set limits! bug HOT 1
- Bug using `IntervalsBetween` for minor ticks on a log scale HOT 3
- Cannot set linestyle to :solid with observable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makie.jl.