Generating python scripts from notebooks.  RepeatMap with correct dimensions