def styles ( self , dictobj ) : for k in dictobj : self . chart_style [ k ] = dictobj [ k ]
python change dictionary in for loop
Add or update styles
def styles(self, dictobj):
		"""
		Add or update styles
		"""
		for k in dictobj:
			self.chart_style[k] = dictobj[k]