def __init__(self):
self._defaults = {}<EOL>self.__defaults = None<EOL>
Set the defaults dictionary in the _defaults variable:

E.g. for matplotlib we define a file defaults.py and 
    set the dictionary of it here:

        from . import defaults
        _defaults = defaults.__dict__