Skip to content

Commit 92ff42a

Browse files
jeffcarlinshenmingfu
authored andcommitted
Minor copy edits
1 parent 927aea4 commit 92ff42a

3 files changed

Lines changed: 13 additions & 14 deletions

File tree

DP1/300_Science_Demos/311_Interactive_data_visualization/311_1_Single_interactive_plots.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"\n",
6969
"These packages are part of the [Holoviz](http://holoviz.org/) ecosystem of tools intended for visualization in a web browser and can be used to create quite sophisticated dashboard-like interactive displays and widgets. The goal of this tutorial is to provide an introduction and starting point from which to create more advanced, custom interactive visualizations. Holoviz has a [vibrant and active community](https://discourse.holoviz.org/) where you can ask questions and discuss visualizations with a global community. \n",
7070
"\n",
71-
"> **Notice:** If the notebook or any interactive features seem to stall, first try going a few cells back and rerunning them in order (the order in which cells are run is imporant for this notebook's functionality). If that does not work, try restarting the kernel. If issues persist, try logging out and restarting the Notebook aspect using a \"large\" instance of the JupyterLab environment.\n",
71+
"> **Notice:** If the notebook or any interactive features seem to stall, first try going a few cells back and rerunning them in order (the order in which cells are run is important for this notebook's functionality). If that does not work, try restarting the kernel. If issues persist, try logging out and restarting the Notebook aspect using a \"large\" instance of the JupyterLab environment.\n",
7272
"\n",
7373
"> **Warning: It is not recommended to \"Restart Kernel and Run All Cells\" in this notebook, or to execute multiple cells very quickly.** Some of the examples require interaction (e.g., for the user to select points on a graph) in order to run correctly, and going too fast can cause some plots to not display properly."
7474
]
@@ -288,7 +288,7 @@
288288
"id": "e298c894-4795-41b9-ad44-dcdf652d80a9",
289289
"metadata": {},
290290
"source": [
291-
"As query will return a very large dataset, use an asynchronous query.\n",
291+
"As this query will return a very large dataset, use an asynchronous query.\n",
292292
"This will take a few minutes."
293293
]
294294
},
@@ -524,7 +524,7 @@
524524
"source": [
525525
"### 3.1. Scatter plot\n",
526526
"\n",
527-
"The basic core primitives of HoloViews are [Elements](http://holoviews.org/Reference_Manual/holoviews.element.html) (`hv.Element`). \n",
527+
"The basic core primitives of HoloViews are [Elements](https://holoviews.org/reference/index.html#elements) (`hv.Element`). \n",
528528
"Elements are simple wrappers for data which provide a semantically \n",
529529
"meaningful visual representation. \n",
530530
"An Element may be a set of Points, an Image, a Curve, a Histogram, etc. \n",

DP1/300_Science_Demos/311_Interactive_data_visualization/311_2_Paired_interactive_plots.ipynb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"\n",
6969
"These packages are part of the [Holoviz](http://holoviz.org/) ecosystem of tools intended for visualization in a web browser and can be used to create quite sophisticated dashboard-like interactive displays and widgets. The goal of this tutorial is to provide an introduction and starting point from which to create more advanced, custom interactive visualizations. Holoviz has a [vibrant and active community](https://discourse.holoviz.org/) where you can ask questions and discuss visualizations with a global community. \n",
7070
"\n",
71-
"> **Notice:** If the notebook or any interactive features seem to stall, first try going a few cells back and rerunning them in order (the order in which cells are run is imporant for this notebook's functionality). If that does not work, try restarting the kernel. If issues persist, try logging out and restarting the Notebook aspect using a \"large\" instance of the JupyterLab environment.\n",
71+
"> **Notice:** If the notebook or any interactive features seem to stall, first try going a few cells back and rerunning them in order (the order in which cells are run is important for this notebook's functionality). If that does not work, try restarting the kernel. If issues persist, try logging out and restarting the Notebook aspect using a \"large\" instance of the JupyterLab environment.\n",
7272
"\n",
7373
"> **Warning: It is not recommended to \"Restart Kernel and Run All Cells\" in this notebook, or to execute multiple cells very quickly.** Some of the examples require interaction (e.g., for the user to select points on a graph) in order to run correctly, and going too fast can cause some plots to not display properly."
7474
]
@@ -340,7 +340,7 @@
340340
"id": "e298c894-4795-41b9-ad44-dcdf652d80a9",
341341
"metadata": {},
342342
"source": [
343-
"As query will return a very large dataset, use an asynchronous query.\n",
343+
"As this query will return a very large dataset, use an asynchronous query.\n",
344344
"This will take a few minutes."
345345
]
346346
},
@@ -843,12 +843,12 @@
843843
"\n",
844844
"A very useful feature of Bokeh is the ability to add connected interactivity between plots \n",
845845
"that show different attributes of the same data.\n",
846-
"**This is called linking**. \n",
846+
"This is called **linking**. \n",
847847
"\n",
848848
"With linked plots it is possible to carry out data **brushing**, whereby \n",
849849
"data can be selected and manipulated synchronously across multiple linked plots. \n",
850850
"\n",
851-
"For example, if a skyplot is linked with a colour-magnitude diagram of the same \n",
851+
"For example, if a skyplot is linked with a color-magnitude diagram of the same \n",
852852
"dataset, it becomes possible to interactively explore the relationship between \n",
853853
"the positions of objects in each plot.\n",
854854
"\n",
@@ -1143,8 +1143,7 @@
11431143
"Once loading is complete, click on the \"Trust HTML\" button at the top-left of the tab's window.\n",
11441144
"Then, a near-duplicate of the two linked plots above should be displayed.\n",
11451145
"\n",
1146-
"It is also possible to download the HTML file, interact with it in a browser as a \n",
1147-
"a local file."
1146+
"It is also possible to download the HTML file and interact with it in a browser as a local file."
11481147
]
11491148
},
11501149
{
@@ -1269,7 +1268,7 @@
12691268
"source": [
12701269
"Option to list the indices of the selected objects, if the number selected is less than 200.\n",
12711270
"\n",
1272-
"If desired, these indices could be used to define a population for subsequence analysis."
1271+
"If desired, these indices could be used to define a population for subsequent analysis."
12731272
]
12741273
},
12751274
{

DP1/300_Science_Demos/311_Interactive_data_visualization/311_3_Large_datasets.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"id": "971495ef-cc0f-4bf9-9b15-b7391872992c",
124124
"metadata": {},
125125
"source": [
126-
"Show which version of Bokeh, HoloViews we are working with.\n",
126+
"Show which version of Bokeh, HoloViews, and DataShader we are working with.\n",
127127
"This is important when referring to online documentation as APIs can change between versions."
128128
]
129129
},
@@ -210,7 +210,7 @@
210210
"source": [
211211
">**Notice:** Sometimes the `bokeh.io.show` function can be finicky when output modes are switched (e.g., from inline to an HTML file and back again).\n",
212212
"\n",
213-
"To avert a \"Models must be owned by only a single document\" error (see, e.g., <a href=\"https://github.com/bokeh/bokeh/issues/8579\">https://github.com/bokeh/bokeh/issues/8579</a>), define the following function and use them in Section 3."
213+
"To avert a \"Models must be owned by only a single document\" error (see, e.g., <a href=\"https://github.com/bokeh/bokeh/issues/8579\">https://github.com/bokeh/bokeh/issues/8579</a>), define the following function and use it in Section 3."
214214
]
215215
},
216216
{
@@ -627,7 +627,7 @@
627627
"source": [
628628
"### 3.2. Plotting a small set of data points\n",
629629
"\n",
630-
"Plot a color-colour diagram using Bokeh with a customized hover tool."
630+
"Plot a color-color diagram using Bokeh with a customized hover tool."
631631
]
632632
},
633633
{
@@ -789,7 +789,7 @@
789789
"source": [
790790
"### 3.3. Plotting a large set of data points\n",
791791
"\n",
792-
"The datasest of ~20K points used above is actually too small to demonstrate the power of datashader. \n",
792+
"The dataset of ~20K points used above is actually too small to demonstrate the power of datashader. \n",
793793
"\n",
794794
"Below, visualize the full >200k object dataset returned by the query.\n",
795795
"\n",

0 commit comments

Comments
 (0)