vega / vega-webgl-renderer

WebGL renderer for Vega.
https://vega.github.io/vega-webgl-renderer
BSD 3-Clause "New" or "Revised" License
43 stars 4 forks source link

examples do not work #6

Open hq9000 opened 3 months ago

hq9000 commented 3 months ago

hi! I tried this one out and it didn't work, unfortunately. I went on to look at examples linked from the readme and they didn't work either, with a similar error:

image

my guess is that something got broken as of vega 5.30. On 5.0.0 it seems to work.

jeffbaumes commented 3 months ago

Indeed. It seems that Renderer is now a real JS class that should be subclassed from, instead of a constructor object. I don't know how involved a fix would be to make it work with recent vega.