Adding to subplots

Source code Author Update time

using Plots
pythonplot()

Note here the automatic grid layout, as well as the order in which new series are added to the plots.

plot(Plots.fakedata(100, 10), layout = 4, palette = cgrad.([:grays :blues :heat :lightrainbow]), bg_inside = [:orange :pink :darkblue :black])
2023-08-30T09:52:40.176534 image/svg+xml Matplotlib v3.7.2, https://matplotlib.org/
using Random
Random.seed!(111)
plot!(Plots.fakedata(100, 10))
2023-08-30T09:52:42.322941 image/svg+xml Matplotlib v3.7.2, https://matplotlib.org/

This page was generated using DemoCards.jl and Literate.jl.