Giter VIP home page Giter VIP logo

Comments (5)

SimonDanisch avatar SimonDanisch commented on July 23, 2024

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.

rafaqz avatar rafaqz commented on July 23, 2024

How can there be no mean method for SubArray ?

Where is the AbstractArray method??

from dimensionaldata.jl.

felixcremer avatar felixcremer commented on July 23, 2024

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.

felixcremer avatar felixcremer commented on July 23, 2024

This was a Revise bug which deleted the fallback. This is fixed in Revise 3.5.14.

from dimensionaldata.jl.

rafaqz avatar rafaqz commented on July 23, 2024

Ahh yes I've been getting that with other things too

from dimensionaldata.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.