Giter VIP home page Giter VIP logo

Comments (10)

felixcremer avatar felixcremer commented on August 27, 2024 1

But also something in Makie changed, because it used to work with Makie 0.20 to plot a DimArray even in an Observable{Any}. But Adding a dispatch on Observables{<:AbstractDimArray} should help for now.

from dimensionaldata.jl.

asinghvi17 avatar asinghvi17 commented on August 27, 2024

ah the observable type is probably the issue here in terms of dispatch. #720 should make this a non-issue since we would ideally not be relying on argument types at the user level...

from dimensionaldata.jl.

asinghvi17 avatar asinghvi17 commented on August 27, 2024

Actually, maybe julia> data = Observable{AbstractDimArray}(dd) would work?

from dimensionaldata.jl.

felixcremer avatar felixcremer commented on August 27, 2024

No that does not make a difference. Also just using Observable(dd) which is of type DimMatrix does nothing.

from dimensionaldata.jl.

rafaqz avatar rafaqz commented on August 27, 2024

We just don't have any dispatch on Observables{<:AbstractDimArray}, basically I just forgot to add it.

from dimensionaldata.jl.

asinghvi17 avatar asinghvi17 commented on August 27, 2024

I think that goes back to the expand_dimensions again :D

from dimensionaldata.jl.

asinghvi17 avatar asinghvi17 commented on August 27, 2024

yep, see https://github.com/MakieOrg/Makie.jl/blob/b4a92427bbf71bd3e2155bf3a9fc1be18c1ee2d9/src/interfaces.jl#L138-L151

from dimensionaldata.jl.

rafaqz avatar rafaqz commented on August 27, 2024

I made some comments on that PR... I'm not sure the expand_dimensions approach can do half the things we are doing currently

#720 (comment)

from dimensionaldata.jl.

rafaqz avatar rafaqz commented on August 27, 2024

Like its probably worth doing anyway but we might still need our own method dispatch anyway for other reasons

from dimensionaldata.jl.

asinghvi17 avatar asinghvi17 commented on August 27, 2024

Looks fixed to me.
iTerm2 hsHA1D

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.