Subplots

Source code Author Update time

using Plots
pythonplot()

Use the layout keyword, and optionally the convenient @layout macro to generate arbitrarily complex subplot layouts.

l = @layout([a{0.1h}; b [c; d e]])
plot(randn(100, 5), layout = l, t = [:line :histogram :scatter :steppre :bar], leg = false, ticks = nothing, border = :none)
2026-01-16T14:44:16.256686 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/

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