Skip to content

Conversation

@TomAugspurger
Copy link
Member

No description provided.

1. Sets nbsphinx execute to true
2. Changes solution cells to be hidden in the source, rather than
   `%load` magics.

For now, I've skipped execution of the ML notebook. It really
is written to be run on a cluster at the moment, and will need
some restructructing. I'll do that in a followup.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.

"# Your parallel code here..."
]
},
{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't show up well in nbsphinx, but this cell is hidden in Jupyterlab. Not sure what it will look like in the rendered version, but it'll probably be visible, and that's probably what we want.


Reply via ReviewNB

{
"cell_type": "code",
"execution_count": null,
"metadata": {},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, I had to comment this out to avoid hanging while executing the notebook. I think that's an acceptable tradeoff.

AFAICT, nbsphinx can't skip execution of individual cells.


Reply via ReviewNB

"\n",
"## Exercise: Print `Hello, world!`\n",
"Each notebook will have exercises for you to solve. You'll be given a blank or partially completed cell, followed by a \"magic\" cell that will load the solution. For example\n",
"Each notebook will have exercises for you to solve. You'll be given a blank or partially completed cell, followed by a hidden cell with a solution. For example.\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change :)

@TomAugspurger TomAugspurger merged commit 3043db5 into dask:master Dec 11, 2019
@TomAugspurger TomAugspurger deleted the hidden branch December 11, 2019 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants