pygal.graph.base module

Base for pygal charts

class pygal.graph.base.BaseGraph(config=None, **kwargs)[source]

Bases: object

Chart internal behaviour related functions

prepare_values(raw, offset=0)[source]

Prepare the values to start with sane values

setup(**kwargs)[source]

Set up the transient state prior rendering

teardown()[source]

Remove the transient state after rendering