Skip to content

Commit

Permalink
Merge pull request #19 from invrs-io/pretty2
Browse files Browse the repository at this point in the history
remove non-functional code in notebook
  • Loading branch information
mfschubert authored Jul 11, 2024
2 parents b6a2b0f + 8312e04 commit fc146f5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/notebooks/ceviche_challenges.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@
},
"outputs": [],
"source": [
"import os\n",
"import contextlib\n",
"\n",
"with open(os.devnull, \"w\") as f, contextlib.redirect_stdout(f):\n",
" # Avoid printing by `refractiveindex` module on first run.\n",
" from invrs_gym import challenges\n",
"from invrs_gym import challenges\n",
"\n",
"docstring = challenges.ceviche_beam_splitter().eval_metric.__doc__\n",
"print(\"\\n\".join([s[8:] for s in docstring.split(\"Args\")[0].split(\"\\n\")[2:-2]]))"
Expand Down

0 comments on commit fc146f5

Please sign in to comment.