The Plots API
Plots.jl
is a visualization interface and toolset. It was the brain-child of Tom Breloff and is maintained by several outstanding contributors comprising the JuliaPlots community group.
We have covered the Plots package on several occasions in the preceding chapters, so this section will discuss some of its more fundamental philosophy and features.
The API sits above other backends, such as GR and PyPlot, connecting commands with implementation. If one backend does not support the desired features or make the right trade-offs, it is possible to switch to another backend with one command.
There is no need to change the code and no need to learn a new syntax.
Another backend is Spencer Lyon’s PlotlyJS. This is essentially an “offline” version of the older Plotly module. I will cover how to deal with both of these later in this chapter.
Some of the initial aims of the package were listed by Breloff as follows:
- Powerful: Complex...