Skip to content

Commit

Permalink
doc: use recommended defaults in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
timmahrt committed Feb 13, 2023
1 parent 46786f0 commit 8069e3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ textgrid.openTextgrid(
```
tg.save(
fn=name,
format= "short_textgrid",
includeBlankSpaces= False
format="short_textgrid",
includeBlankSpaces=True
)
```

Expand Down
4 changes: 2 additions & 2 deletions tutorials/tutorial1_intro_to_praatio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"tg.addTier(wordTier)\n",
"tg.addTier(maxF0Tier)\n",
"\n",
"tg.save(\"empty_textgrid.TextGrid\", format=\"short_textgrid\", includeBlankSpaces=False)"
"tg.save(\"empty_textgrid.TextGrid\", format=\"short_textgrid\", includeBlankSpaces=True)"
]
},
{
Expand Down Expand Up @@ -270,7 +270,7 @@
" \n",
" tg = textgrid.Textgrid()\n",
" tg.addTier(wordTier)\n",
" tg.save(join(outputPath, name + \".TextGrid\"), format=\"short_textgrid\", includeBlankSpaces=False)\n",
" tg.save(join(outputPath, name + \".TextGrid\"), format=\"short_textgrid\", includeBlankSpaces=True)\n",
"\n",
"# Did it work?\n",
"for fn in os.listdir(outputPath):\n",
Expand Down

0 comments on commit 8069e3d

Please sign in to comment.