Skip to content

Commit 2b08b31

Browse files
committed
Comment out failing scatterplot
1 parent e90796b commit 2b08b31

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/examples/gwas_tutorial.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5878,7 +5878,8 @@
58785878
"sample_dp_mean = dp.mean(dim=\"variants\")\n",
58795879
"sample_dp_mean.attrs[\"long_name\"] = \"Mean Sample DP\"\n",
58805880
"ds[\"sample_dp_mean\"] = sample_dp_mean # add new data array to dataset\n",
5881-
"ds.plot.scatter(x=\"sample_dp_mean\", y=\"sample_call_rate\", size=8, s=10);"
5881+
"# Following does not work with recent versions of xarray, see https://github.com/pystatgen/sgkit/issues/934\n",
5882+
"#ds.plot.scatter(x=\"sample_dp_mean\", y=\"sample_call_rate\", size=8, s=10);"
58825883
]
58835884
},
58845885
{
@@ -13116,7 +13117,8 @@
1311613117
"ds_pca[\"sample_pca_projection_0\"] = ds_pca.sample_pca_projection[:,0]\n",
1311713118
"ds_pca[\"sample_pca_projection_1\"] = ds_pca.sample_pca_projection[:,1]\n",
1311813119
"ds_pca[\"sample_pca_projection_2\"] = ds_pca.sample_pca_projection[:,2]\n",
13119-
"ds_pca.plot.scatter(x=\"sample_pca_projection_0\", y=\"sample_pca_projection_1\", hue=\"SuperPopulation\", size=8, s=10);"
13120+
"# Following does not work with recent versions of xarray, see https://github.com/pystatgen/sgkit/issues/934\n",
13121+
"#ds_pca.plot.scatter(x=\"sample_pca_projection_0\", y=\"sample_pca_projection_1\", hue=\"SuperPopulation\", size=8, s=10);"
1312013122
]
1312113123
},
1312213124
{
@@ -13223,7 +13225,7 @@
1322313225
"name": "python",
1322413226
"nbconvert_exporter": "python",
1322513227
"pygments_lexer": "ipython3",
13226-
"version": "3.8.16"
13228+
"version": "3.10.12"
1322713229
}
1322813230
},
1322913231
"nbformat": 4,

0 commit comments

Comments
 (0)