pygal.graph.histogram module

Histogram chart: like a bar chart but with data plotted along a x axis as bars of varying width.

class pygal.graph.histogram.Histogram(config=None, **kwargs)[source]

Bases: pygal.graph.dual.Dual, pygal.graph.bar.Bar

Histogram chart class

bar(serie, rescale=False)[source]

Draw a bar graph for a serie

xvals[source]

All x values

yvals[source]

All y values