Skip to content

Commit

Permalink
Comment out failing scatterplot
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Sep 5, 2023
1 parent e90796b commit 2b08b31
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/examples/gwas_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5878,7 +5878,8 @@
"sample_dp_mean = dp.mean(dim=\"variants\")\n",
"sample_dp_mean.attrs[\"long_name\"] = \"Mean Sample DP\"\n",
"ds[\"sample_dp_mean\"] = sample_dp_mean # add new data array to dataset\n",
"ds.plot.scatter(x=\"sample_dp_mean\", y=\"sample_call_rate\", size=8, s=10);"
"# Following does not work with recent versions of xarray, see https://github.com/pystatgen/sgkit/issues/934\n",
"#ds.plot.scatter(x=\"sample_dp_mean\", y=\"sample_call_rate\", size=8, s=10);"
]
},
{
Expand Down Expand Up @@ -13116,7 +13117,8 @@
"ds_pca[\"sample_pca_projection_0\"] = ds_pca.sample_pca_projection[:,0]\n",
"ds_pca[\"sample_pca_projection_1\"] = ds_pca.sample_pca_projection[:,1]\n",
"ds_pca[\"sample_pca_projection_2\"] = ds_pca.sample_pca_projection[:,2]\n",
"ds_pca.plot.scatter(x=\"sample_pca_projection_0\", y=\"sample_pca_projection_1\", hue=\"SuperPopulation\", size=8, s=10);"
"# Following does not work with recent versions of xarray, see https://github.com/pystatgen/sgkit/issues/934\n",
"#ds_pca.plot.scatter(x=\"sample_pca_projection_0\", y=\"sample_pca_projection_1\", hue=\"SuperPopulation\", size=8, s=10);"
]
},
{
Expand Down Expand Up @@ -13223,7 +13225,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.16"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2b08b31

Please sign in to comment.