def customize_mpl():
 print('Setting custom matplotlib visual style')
 rcParams['figure.figsize'] = (10, 6)
 rcParams['figure.dpi'] = 150
 rcParams['axes.color_cycle'] = dark2_colors
 rcParams['lines.linewidth'] = 2
 rcParams['axes.grid'] = True
 rcParams['axes.facecolor'] = '#eeeeee'
 rcParams['font.size'] = 14
 rcParams['patch.edgecolor'] = 'none'

def customize_mpl ( ) : print ( 'Setting custom matplotlib visual style' ) rcParams [ 'figure.figsize' ] = ( 10 , 6 ) rcParams [ 'figure.dpi' ] = 150 rcParams [ 'axes.color_cycle' ] = dark2_colors rcParams [ 'lines.linewidth' ] = 2 rcParams [ 'axes.grid' ] = True rcParams [ 'axes.facecolor' ] = '#eeeeee' rcParams [ 'font.size' ] = 14 rcParams [ 'patch.edgecolor' ] = 'none'
tweak matplotlib visual style .