<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def figures(df,specs,asList=False):
 	""" 	Generates multiple Plotly figures for a given DataFrame 	Parameters: 		df : DataFrame 			Pandas DataFrame 		specs : list(dict) 			List of dictionaries with the properties 			of each figure. 			All properties avaialbe can be seen with 			help(cufflinks.pd.DataFrame.iplot) 		asList : boolean 			If True, then a list of figures is returned. 			Otherwise a single (merged) figure is returned. 			Default : False 	"""

	figs=[]
	for spec in specs:
		figs.append(df.figure(**spec))
	if asList:
		return figs
	else:
		return merge_figures(figs)