Documentation
Custom Styles
pygal provides 2 ways to customize styles:
Using Style class
You can instantiate the Style class with some customizations for quick styling:
Using a custom css
You can also specify a file containing a custom css for more customization. The css option is an array containing included css by default (except from base.css which is always included).
It supports local file names and external stylesheet too, just append your URI in the list.
(See the default css)
NB: Now the css rules are prefixed by an unique id, to prevent collisions when including several svg dirctly into a web page. You can disable it with the no_prefix option.
Next: Basic customizations