Skip to content

Commit bfaa0eb

Browse files
committed
prod
1 parent f7f1766 commit bfaa0eb

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

docs/notebooks/anndata_getting_started.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
},
205205
{
206206
"cell_type": "code",
207-
"execution_count": 6,
207+
"execution_count": null,
208208
"id": "e5ab77ab-6c9b-483e-8c95-cd3f529a6bef",
209209
"metadata": {},
210210
"outputs": [
@@ -224,7 +224,7 @@
224224
"# look at their indices / positions in the data matrix\n",
225225
"print(adata.X.indices)\n",
226226
"# compute the fraction of non-zero entries\n",
227-
"print(adata.X.nnz / np.product(adata.X.shape))"
227+
"print(adata.X.nnz / np.prod(adata.X.shape))"
228228
]
229229
},
230230
{

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ features = [ "dev" ]
5454

5555
[tool.hatch.envs.registry]
5656
features = [ "registry" ]
57-
[tool.hatch.envs.registry.scripts]
58-
validate = "python tutorial-registry/validate.py {args}"
57+
scripts.validate = "python tutorial-registry/validate.py {args}"
5958

6059
[tool.hatch.envs.docs]
6160
features = [ "docs" ]

0 commit comments

Comments
 (0)