Bar

Source code Author Update time

using Plots
pythonplot()

bar(x, y) plots bars with heights y and centers at x. x defaults to eachindex(y).

plot(bar(randn(10)), bar([0, 3, 5], [1, 2, 6]), legend = false)
2025-09-16T17:53:44.226167 image/svg+xml Matplotlib v3.10.6, https://matplotlib.org/

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