News for hackers. Stuff that matters.
Re:Makie, a modern and fast plotting library for Julia by leephillips on Tuesday July 04, 2023 @02:32PM (#36590804)
Chris Rackauckas has put together a valuable guide to the Julia plotting ecosystem here:

    http://www.stochasticlifestyle.com/summary-of-julia-plotting-packages/
Useful, because the wealth of choices confuses people.

I stick with Plots.jl because of the recipe system. This is Plots’ secret weapon. If you create a package with its own data types, you can include instructions telling Plots how to visualize them. The user then need simply type

    plot(custom_type; etc.)
to get the custom visualization. And the package need not include Plots as a dependency for this to work. This is only one of the things the recipe system can do.
Re:Makie, a modern and fast plotting library for Julia by krumbie on Tuesday July 04, 2023 @02:53PM (#36591090)
Yeah the recipes are Plots.jl's strength. We will need more time to get there, I've always felt that the statefulness you get from having interactivity gets in the way of easy composability a bit. In Plots, you assemble one big plot description from recipes that then gets translated to a backend representation once. In Makie (currently) each plot object gets instantiated immediately, ready to go for interaction. But in the future, we might add a layer on top that builds full descriptions first, like Plots, then instantiates at once.

As a side note, package extensions in Julia 1.9 mean that any package can now in principle extend Makie without directly depending on it. That should remove one of the big blockers for adoption, as admittedly, Makie is a heavy dependency to take on.

Re:Makie, a modern and fast plotting library for Julia by nsajko on Tuesday July 04, 2023 @06:05PM (#36593118)
IMO, the Summary of Julia Plotting Packages article undersells Vega/Vega Lite. They're really powerful and look good.