Hacker News new | ask | show | jobs
by cwyers 2537 days ago
For people who have more Julia experience -- is this (thinking mainly of chapter 4) representative of how most Julia users do plotting? It looks like a lot of calling out to matplotlib via PyPlot. I know Julia has a ggplot-inspired library called Gadfly.jl, is PyPlot more commonly used?
3 comments

There is not yet a universally-used package for plotting. One recent tool is Makie.jl [1]. Many use Plots.jl [2] as an interface to PyPlot, GR [3], and other backends. I.e. you can change the backend with a single command.

[1] https://github.com/JuliaPlots/Makie.jl

[2] https://github.com/JuliaPlots/Plots.jl

[3] https://github.com/jheinen/GR.jl

Plots.jl seems to be the most popular plotting package these days: https://github.com/JuliaPlots/Plots.jl
I bounce back and forth, usually using Gadfly for most plotting but Plots.jl is convenient for some stats plots (see StatsPlots.jl, which extends Plots.jl with nice built in functions for working with stats).