dask / dask-tutorial

Dask tutorial
https://tutorial.dask.org
BSD 3-Clause "New" or "Revised" License
1.83k stars 702 forks source link

Avoid render error due to incomplete code #235

Closed SultanOrazbayev closed 2 years ago

SultanOrazbayev commented 2 years ago

The sample code in the exercise in the docs contains an 'error' when rendered on the website. The problem entry is this:

complete the following:

fig = plt.figure(figsize=(16, 8)) plt.imshow(..., cmap='RdBu_r')

As I understand, this is meant to be there as a fill-in exercise to be completed during tutorial, but to avoid the error in the rendered version, perhaps it can placed in a markdown block... (there might be a better way to deal with this, e.g. marking some cells to be ignored during execution, but since it's just one cell here, maybe that would be excessive)

review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

SultanOrazbayev commented 2 years ago

Apologies for re-formatting, I ran the code through isort and black.

pavithraes commented 2 years ago

@SultanOrazbayev Nice catch, and thank you for this PR!