A couple of notes on the release of Plots 1.37.
- “best” legend position for gr(and other backends) has been implemented thanks to @lmiq in this PR.
- addition of the pythonplotbackend. This backend usesPythonCallandPythonPlotinstead ofPyCallandPyPlot. Even if thepyplotbackend will still be supported in Plots1.X, users are encouraged to transition to thepythonplotbackend, since new features and bug fixes are now added only topythonplot.
- 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 2.0.
Thanks to @mkitti and @BeastyBlacksmith for reviews and comments.