Giter VIP home page Giter VIP logo

Comments (5)

asinghvi17 avatar asinghvi17 commented on June 13, 2024

It looks like the Bonito.Session found its way into a plot or scene attribute somehow? Simon would know more.

What happens if you do:

fig = Figure()
rand(RGBf, 10, 10) # do something different
fig

?

from makie.jl.

kbarros avatar kbarros commented on June 13, 2024

No error for rand(RGBf, 10, 10). This seems to narrow it down to the scatter! command?

from makie.jl.

asinghvi17 avatar asinghvi17 commented on June 13, 2024

This error only comes up with scatter, and not with e.g. heatmap or lines.

from makie.jl.

asinghvi17 avatar asinghvi17 commented on June 13, 2024

The error is probably somewhere here

function scatter_shader(scene::Scene, attributes, plot)
# Potentially per instance attributes

from makie.jl.

asinghvi17 avatar asinghvi17 commented on June 13, 2024

Aha! There is a key wgl_session in the uniform dict created here.

julia> Infiltrator.safehouse.uniform_dict[:__wgl_session]
Observable(Session{Bonito.SubConnection}:
  id: 9858a685-6c0f-44e7-8de8-4136c55ac247
  parent: Bonito.Session{Bonito.WebSocketConnection}
  connection: open
  isready: true
  asset_server: Bonito.ChildAssetServer
  queued messages: 0
)

which I suspect is the cause of your problem.

from makie.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.