Skip to content

Commit 942b14e

Browse files
authored
hide Dask warnings on the plotting guides (#1423)
1 parent 6ce5d66 commit 942b14e

File tree

3 files changed

+66
-5
lines changed

3 files changed

+66
-5
lines changed

doc/user_guide/Plotting.ipynb

+20-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,30 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"metadata": {},
5+
"metadata": {
6+
"tags": []
7+
},
68
"source": [
79
"# Plotting"
810
]
911
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": null,
15+
"metadata": {
16+
"tags": [
17+
"hide-cell"
18+
]
19+
},
20+
"outputs": [],
21+
"source": [
22+
"# Cell hidden on the website (hide-cell in tags)\n",
23+
"# https://github.com/holoviz/holoviews/pull/6391\n",
24+
"import warnings\n",
25+
"\n",
26+
"warnings.filterwarnings(\"ignore\", message=\"When grouping with a length-1 list-like\", category=FutureWarning)"
27+
]
28+
},
1029
{
1130
"cell_type": "markdown",
1231
"metadata": {},

doc/user_guide/Plotting_with_Matplotlib.ipynb

+23-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,35 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"metadata": {},
5+
"metadata": {
6+
"tags": []
7+
},
68
"source": [
79
"# Plotting with Matplotlib"
810
]
911
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": null,
15+
"metadata": {
16+
"tags": [
17+
"hide-cell"
18+
]
19+
},
20+
"outputs": [],
21+
"source": [
22+
"# Cell hidden on the website (hide-cell in tags)\n",
23+
"# https://github.com/holoviz/holoviews/pull/6391\n",
24+
"import warnings\n",
25+
"\n",
26+
"warnings.filterwarnings(\"ignore\", message=\"When grouping with a length-1 list-like\", category=FutureWarning)"
27+
]
28+
},
1029
{
1130
"cell_type": "markdown",
12-
"metadata": {},
31+
"metadata": {
32+
"tags": []
33+
},
1334
"source": [
1435
"This page demonstrates the use of the **Matplotlib** plotting backend, the equivalent page demonstrating the Plotly backend may be found [here](Plotting_with_Plotly.ipynb)\n",
1536
"\n",

doc/user_guide/Plotting_with_Plotly.ipynb

+23-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,35 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"metadata": {},
5+
"metadata": {
6+
"tags": []
7+
},
68
"source": [
79
"# Plotting with Plotly"
810
]
911
},
12+
{
13+
"cell_type": "code",
14+
"execution_count": null,
15+
"metadata": {
16+
"tags": [
17+
"hide-cell"
18+
]
19+
},
20+
"outputs": [],
21+
"source": [
22+
"# Cell hidden on the website (hide-cell in tags)\n",
23+
"# https://github.com/holoviz/holoviews/pull/6391\n",
24+
"import warnings\n",
25+
"\n",
26+
"warnings.filterwarnings(\"ignore\", message=\"When grouping with a length-1 list-like\", category=FutureWarning)"
27+
]
28+
},
1029
{
1130
"cell_type": "markdown",
12-
"metadata": {},
31+
"metadata": {
32+
"tags": []
33+
},
1334
"source": [
1435
"This page demonstrates the use of the **Plotly** plotting backend, the equivalent page demonstrating the Matplotlib backend may be found [here](Plotting_with_Matplotlib.ipynb)\n",
1536
"\n",

0 commit comments

Comments
 (0)