Skip to content

Commit

Permalink
Also strip execution count
Browse files Browse the repository at this point in the history
  • Loading branch information
kynan committed Dec 3, 2015
1 parent 4159a46 commit bcf28dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nbstripout.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def strip_output(nb):
cell['outputs'] = []
if 'prompt_number' in cell:
cell['prompt_number'] = None
if 'execution_count' in cell:
cell['execution_count'] = None
return nb


Expand Down

0 comments on commit bcf28dc

Please sign in to comment.