init_fig (method)


@date Created on Wed Jan 13 11:17:10 2016 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b @todo unittest it


Get all the handle and legend of a figure or initialize them (for matplotlib)

Parameters:fig (Matplotlib.figure.Figure) – The figure to get the handle from (can be None)
Returns:(fig,axes,patch_leg,label_leg) – Figure handle, Axes Handle, List of legend patches, List of legend label
Return type:Matplotlib.figure.Figure, matplotlib.axes._subplots.AxesSubplot, patch, string