A couple of notes on the release of Plots
- “best” legend position for
gr(and other backends) has been implemented thanks to @lmiq in this PR.
- addition of the
pythonplotbackend. This backend uses
PyPlot. Even if the
pyplotbackend will still be supported in Plots
1.X, users are encouraged to transition to the
pythonplotbackend, since new features and bug fixes are now added only to
- precompilation for a selected backend (thus improving TTFP). Plots will generate precompile statements for a selected backend, made persistent through
Preferences, see the docs at Persistent-backend-selection or the example below.
$ JULIA_PKG_PRECOMPILE_AUTO=0 julia -e 'import Plots; Plots.set_default_backend!(:pythonplot)' $ julia # restart, show persistent mode julia> using Plots [ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] [ Info: PythonPlot # precompiles for this backend julia> plot(1:2) |> display # always uses `PythonPlot` by default
Also, please join the discussion in [RFC] Plots `2.0` · Issue #4565 · JuliaPlots/Plots.jl · GitHub for the wished for breaking features or removals in Plots