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)
2023-05-26T13:31:26.932960 image/svg+xml Matplotlib v3.7.1, https://matplotlib.org/

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