<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _fig_iplot(self,validate=True,sharing=None,filename='', 			 online=None,asImage=False,asUrl=False,asPlot=False, 			 dimensions=None,display_image=True,**kwargs):
 	""" 	Plots a figure in IPython 	figure : figure 		Plotly figure to be charted 	validate : bool 		If True then all values are validated before 		it is charted 	sharing : string 		Sets the sharing level permission 			public - anyone can see this chart 			private - only you can see this chart 			secret - only people with the link can see the chart 	filename : string 		Name to be used to save the file in the server, or as an image 	online : bool 		If True then the chart is rendered on the server 		even when running in offline mode. 	asImage : bool 			If True it returns an Image (png) 			In ONLINE mode: 				Image file is saved in the working directory				 					Accepts: 						filename 						dimensions 						scale 						display_image 			In OFFLINE mode: 				Image file is downloaded (downloads folder) and a 				regular plotly chart is displayed in Jupyter 					Accepts: 						filename 						dimensions 	asUrl : bool 		If True the chart url/path is returned. No chart is displayed. 			If Online : the URL is returned 			If Offline : the local path is returned 	asPlot : bool 		If True the chart opens in browser 	dimensions : tuple(int,int) 		Dimensions for image 			(width,height)		 	display_image : bool 		If true, then the image is displayed after it has been saved 		Requires Jupyter Notebook 		onlh valide when asImage=True 	Other Kwargs 	============ 		legend : bool 			If False then the legend will not be shown		 	"""

	return iplot(self,validate=validate,sharing=sharing,filename=filename,
			 online=online,asImage=asImage,asUrl=asUrl,asPlot=asPlot,
			 dimensions=dimensions,display_image=display_image,**kwargs)