evaluations/plot.py
def save_fig(fig_name, width=9, height=5):
    """
        Save the current figure under filename fig_name
    """
    plt.gcf().set_size_inches((width, height))
    simplify_axis(plt.gca())
    plt.savefig(fig_name, bbox_inches='tight', pad_inches=0.02)

        Save the current figure under filename fig_name
    
Save the current figure under filename fig_name
Save the current figure under filename fig_name
def save_fig(fig_name, width=9, height=5):
    plt.gcf().set_size_inches((width, height))
    simplify_axis(plt.gca())
    plt.savefig(fig_name, bbox_inches='tight', pad_inches=0.02)
def save_fig ( fig_name , width = 9 , height = 5 ) : plt . gcf ( ) . set_size_inches ( ( width , height ) ) simplify_axis ( plt . gca ( ) ) plt . savefig ( fig_name , bbox_inches = 'tight' , pad_inches = 0.02 )
Save the current figure under filename fig_name
Save the current figure under filename fig_name
"""
        Save the current figure under filename fig_name
    """
fig_name
width
height