#NEWLINE# def main( ) : #NEWLINE# #INDENT# os . chdir ( '../notebooks/' ) #NEWLINE# ns = run ( '../notebooks/distributions.ipynb' ) #NEWLINE# os . chdir ( '../figures/' ) #NEWLINE# for ( fname , fig ) in ns [ 'figures' ] . items ( ) : #NEWLINE# #INDENT# if ( fig not in [ 'lon' , 'lat' , 'hii_score' , 'map' ] ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# fig . set_tight_layout ( True ) #NEWLINE# fig . savefig ( ( ( 'dist_' + fname ) + '.eps' ) )