Alphabetical list Categories
bars Bar plot with bar width specified in data coordinates
Call signature:

bars(xx, yy, w, y0=0)

Help text:

bars(xx, yy, w) draws a bar graph of yy vs xx with bars of width w specified in data coordinates.
bars(xx, yy, w, y0) specifies the baseline of the plot; default for y0 is 0. y0 may also be a vector (which must then be the same size as xx and yy). This is useful for creating stacked bar graphs.

Example:

import pyqplot as qp

import numpy as np

qp.figure('bars', 3, 3)

qp.brush('777')

xx = np.arange(0,4*np.pi,1)

qp.bars(xx, np.sin(xx), 0.5)

QPlot Documentation — (C) Daniel Wagenaar, 2019