Filled area - hatched patterns

Source code Author Update time

using Plots
pythonplot()

Plot hatched regions.

y = rand(10)
plot(y .+ 1, fillrange = y, fillstyle = :/)
2026-01-16T14:45:26.351482 image/svg+xml Matplotlib v3.10.8, https://matplotlib.org/

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