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)
2024-11-13T18:12:20.172210 image/svg+xml Matplotlib v3.9.1, https://matplotlib.org/

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