svg/charts/pie.py
def add_defs(self, defs):
		"Add svg definitions"
		etree.SubElement(
			defs,
			'filter',
			id='dropshadow',
			width='1.2',
			height='1.2',
		)
		etree.SubElement(
			defs,
			'feGaussianBlur',
			stdDeviation='4',
			result='blur',
		)
def add_defs(self, defs):
		"Add svg definitions"
		etree.SubElement(
			defs,
			'filter',
			id='dropshadow',
			width='1.2',
			height='1.2',
		)
		etree.SubElement(
			defs,
			'feGaussianBlur',
			stdDeviation='4',
			result='blur',
		)
def add_defs ( self , defs ) : etree . SubElement ( defs , 'filter' , id = 'dropshadow' , width = '1.2' , height = '1.2' , ) etree . SubElement ( defs , 'feGaussianBlur' , stdDeviation = '4' , result = 'blur' , )
Add svg definitions
Add svg definitions