Lines Matching refs:options
47 def __init__(self, options=None, **kwargs):
48 self.init(options, **kwargs)
51 self.options = {}
53 def init(self, options=None, **kwargs):
55 self.update(options, **kwargs)
57 def update(self, options=None, **kwargs):
58 if options is not None:
59 if not isinstance(options, ChartOptions):
61 'attribute options of type %s should be %s' % \
62 (type(options), ChartOptions)
63 self.options.update(options.options)
69 self.options[key] = value
72 if attr in self.options:
73 return self.options[attr]
83 self.options[attr] = value