Comments (5)
That's a really weird error....
I can't explain it unless some package incorrectly overloaded base array methods...
Note the stack trace:
ERROR: MethodError: no method matching mean(::SubArray{Float64, 2, Matrix{Float64}, Tuple{UnitRange{Int64}, UnitRange{Int64}}, false})
...
Stacktrace:
[1] downsample(img::Matrix{Float64}, xsize::Int64, ysize::Int64)
So there is an error in downsample
which gets called with a completely normal array.
This function gets called in font rendering code, which only gets called if a font + glyph hasn't been added to the texture atlas already (most glyphs + default fonts are already in there).
So I suspect, the recipe renders a new glyph, and somewhere some incorrectly overloaded array methods break the font rendering.
It could be a Makie problem, but the function that errors hasn't been changed in ages and most dependencies for it neither.
from dimensionaldata.jl.
How can there be no mean
method for SubArray
?
Where is the AbstractArray
method??
from dimensionaldata.jl.
I restarted my computer and now I can't reproduce the issue anymore. I am going to close this for now until I get a proper reproducer.
from dimensionaldata.jl.
This was a Revise bug which deleted the fallback. This is fixed in Revise 3.5.14.
from dimensionaldata.jl.
Ahh yes I've been getting that with other things too
from dimensionaldata.jl.
Related Issues (20)
- Would it be useful to have Not() as a selector? HOT 4
- Makie extension throws StackOverflowError when dimensions have Unitful units HOT 4
- Dimensions of Observable(dd) are ignored in Makie 0.21 HOT 10
- Displaying one-dimensional `DimArray` does not quite work in Pluto HOT 8
- Performance of `broadcast_dims` on `DimStack` vs `DimArray` HOT 1
- Remove if VERSION checks HOT 1
- Plotting deprecations in tests
- Reduce number of warnings in tests HOT 1
- How can I create a 2D array using broadcasting? HOT 1
- MethodError: no method matching `copy(::X{LinRange{Float64, Int64}})`
- Selection of multiple surrounding pixels around a position HOT 3
- Add CodeCov upload token to fix codecov HOT 4
- friction in dimension-specific `mean` of a `groupby` HOT 4
- FR: Make `broadcast_dims` work with `DimArray`s and `Dimension`s HOT 3
- `mapslices` on `DimStack` HOT 3
- add `name` etc keywords to `DimArray` `similar` HOT 1
- Support `replace!` for `DimStack`s HOT 2
- typos HOT 6
- Explain difference of Interval and Range for Indexing HOT 1
- Weighted mean from `StatsBase` does not work on DimArray HOT 3
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 dimensionaldata.jl.