<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_annotations(self,annotations,**kwargs):
 		""" 		Add an annotation to the QuantFigure. 		Parameters: 			annotations : dict or list(dict,) 				Annotations can be on the form form of 					{'date' : 'text'} 					and the text will automatically be placed at the 					right level on the chart 				or 					A Plotly fully defined annotation 		kwargs : 			fontcolor : str 				Text color for annotations 			fontsize : int 				Text size for annotations 			textangle : int 				Textt angle 			See https://plot.ly/python/reference/#layout-annotations 			for a complete list of valid parameters. 		"""

		ann_kwargs=utils.check_kwargs(kwargs,get_annotation_kwargs(),{},clean_origin=True)
		if type(annotations)==list:
			self.layout['annotations']['values'].extend(annotations)
		else:
			self.layout['annotations']['values'].append(annotations)
		if ann_kwargs:
			self.layout['annotations']['params'].update(**ann_kwargs)