def plot_mpl(mpl_fig, resize=False, strip_style=False, verbose=False, show_link=True, link_text='Export to plot.ly', validate=True, output_type='file', include_plotlyjs=True, filename='temp-plot.html', auto_open=True, image=None, image_filename='plot_image', image_height=600, image_width=800):
 plotly_plot = tools.mpl_to_plotly(mpl_fig, resize, strip_style, verbose)
 return plot(plotly_plot, show_link, link_text, validate, output_type, include_plotlyjs, filename, auto_open, image=image, image_filename=image_filename, image_height=image_height, image_width=image_width)

def plot_mpl ( mpl_fig , resize = False , strip_style = False , verbose = False , show_link = True , link_text = 'Export to plot.ly' , validate = True , output_type = 'file' , include_plotlyjs = True , filename = 'temp-plot.html' , auto_open = True , image = None , image_filename = 'plot_image' , image_height = 600 , image_width = 800 ) : plotly_plot = tools . mpl_to_plotly ( mpl_fig , resize , strip_style , verbose ) return plot ( plotly_plot , show_link , link_text , validate , output_type , include_plotlyjs , filename , auto_open , image = image , image_filename = image_filename , image_height = image_height , image_width = image_width )
convert a matplotlib figure to a plotly graph stored locally as html .