Skip to content

Commit

Permalink
Fix missing images issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Sep 17, 2019
1 parent b04fd36 commit c4d9db4
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 7 deletions.
288 changes: 288 additions & 0 deletions assets/dask-array-black-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/dask-dag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 8 additions & 5 deletions notebooks/bytopic/dask/02_dask_arrays.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@
"- we can specify the chunks argument. \"Chunks\" describes how the array is split up over many small pieces.\n",
"- we can perform large computations by performing many smaller computations\n",
"\n",
"![](../../../assets/dask-array-black-text.svg)\n",
"\n",
"source: [Dask Array Documentation](http://dask.pydata.org/en/latest/array-overview.html)"
"![dask-array-black-text](../../../assets/dask-array-black-text.svg)\n",
"\n",
"source: [Dask Array Documentation](https://docs.dask.org/en/latest/array.html)"
]
},
{
Expand Down Expand Up @@ -172,7 +173,9 @@
"### Task Graph\n",
"\n",
"\n",
"When working with dask, dask builds up a graph of blocked tasks to execute. This task graph is also known as Directed Acyclic Graph (DAG). A DAG is a collection of all the tasks you want to run, organized in a way that reflects their relationships and dependencies.\n",
"![dask-dag](../../../assets/dask-dag.gif)\n",
"\n",
"When working with dask, dask builds up a graph of blocked tasks to execute. This task graph is also known as **Directed Acyclic Graph (DAG)**. A DAG is a collection of all the tasks you want to run, organized in a way that reflects their relationships and dependencies.\n",
"\n",
"Dask allows us to visualize the task graph that gets executed when the computation is triggered. To see what this graph looks like, we call `.visualize()` on a dask object:"
]
Expand Down Expand Up @@ -288,7 +291,7 @@
"source": [
"<div class=\"alert alert-block alert-warning\">\n",
"\n",
"Do not try to visualize `big_ones.visualize()` this array!! We repeat, do not visualize the graph for this array because it is too big, and it may cause your notebook server to crash! \n",
"Do not try to visualize big_ones.visualize() this array!! We repeat, do not visualize the graph for this array because it is too big, and it may cause your notebook server to crash! \n",
"\n",
"</div>"
]
Expand Down Expand Up @@ -426,5 +429,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
4 changes: 2 additions & 2 deletions notebooks/bytopic/dask/04_dask_and_xarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
"source": [
"<div class=\"alert alert-block alert-info\">\n",
"\n",
"For this case, using the matplotlib approach is okay. However, if your data is too high-resolution, visualizing with matplotlib can be slow and less efficient.\n",
"For this case, using the matplotlib approach is okay. However, if your data is too high-resolution, visualizing with matplotlib can be slow and less efficient. Instead, you may want to visualize slices/subsets of the data on the fly. This is where interactive visualization comes in handy.\n",
"\n",
"</div>"
]
Expand Down Expand Up @@ -406,5 +406,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}

0 comments on commit c4d9db4

Please sign in to comment.