News for hackers. Stuff that matters.
Re:IPyflow: Reactive Python Notebooks in Jupyter(Lab) by youssefabdelm on Wednesday May 10, 2023 @07:22AM (#35885923)
I love Jupyter notebooks I just wish they looked as good as observable notebooks[1], not just in the overall layout but the charts/graphs you could make in general (plotly, matplotlib, etc don't even come close to d3.js, Observable Plot, etc)... I don't know why there seems to be a hole in the Python ecosystem for good designers or something

This seems to be a step in the right direction with reactivity though. But it's not instant like Observable notebooks. But still good

[1] https://observablehq.com

Re:IPyflow: Reactive Python Notebooks in Jupyter(Lab) by n8henrie on Wednesday May 10, 2023 @07:28AM (#35885959)
Doesn't Altair use something like D3 behind the scenes? I guess it's Vega.

https://pypi.org/project/altair/

Re:IPyflow: Reactive Python Notebooks in Jupyter(Lab) by smacke on Wednesday May 10, 2023 @05:05PM (#35893502)
IPyflow takes a round trip from client to kernel for each execution (including reactive executions) -- this approach is necessary to get the best possible accuracy when determining dataflow in a highly dynamic language like Python, but it is an architectural limitation that prevents the reactivity from feeling as instant as in Observable or Pluto.
Re:IPyflow: Reactive Python Notebooks in Jupyter(Lab) by smacke on Thursday May 18, 2023 @05:25PM (#35994256)
Err, I guess Pluto probably needs the round trip too but I guess Julia is faster after the initial jit...