<s> from run_notebook import run <EOL> def main ( ) : <EOL> ns = run ( '<STR_LIT>' ) <EOL> for fname , fig in ns [ '<STR_LIT>' ] . items ( ) : <EOL> fig . set_tight_layout ( True ) <EOL> fig . savefig ( "<STR_LIT>" + fname + '<STR_LIT>' ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
