pygal package

Main pygal package.

This package holds all available charts in pygal, the Config class and the maps extensions namespace module.

class pygal.PluginImportFixer[source]

Bases: object

Allow external map plugins to be imported from pygal.maps package.

It is a sys.meta_path loader.

find_module(fullname, path=None)[source]

Tell if the module to load can be loaded by the load_module function, ie: if it is a pygal.maps.* module.


Load the module from the previously loaded plugin