Skip to content

Commit 1ad2747

Browse files
authored
Merge pull request #221 from bsipocz/BUG_fix_cell_numbering
BUG: fix cell numbering
2 parents 75c40d2 + c374527 commit 1ad2747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbval/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def collect(self):
311311
self.nb = nbformat.read(str(self.fspath), as_version=4)
312312

313313
# Start the cell count
314-
cell_num = 0
314+
cell_num = 1
315315

316316
# Iterate over the cells in the notebook
317317
for cell in self.nb.cells:

0 commit comments

Comments
 (0)