Skip to content

Commit

Permalink
missing # doctest: +SKIP
Browse files Browse the repository at this point in the history
  • Loading branch information
agramfort committed Sep 16, 2018
1 parent 445ca69 commit 4f7f515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/tutorials/report.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ This allows us to have multiple scripts that add figures to the same report. To
make this even easier, :class:`mne.Report` can be used as a context manager,
allowing you to do this::

>>> with open_report('report.h5') as report: # Creates a new report if 'report.h5' doesn't exist
>>> report.add_figs_to_section(fig, captions='Left Auditory', section='evoked')
>>> report.save('report.html', overwrite=True) # Update the HTML page
>>> with open_report('report.h5') as report: # Creates a new report if 'report.h5' doesn't exist # doctest: +SKIP
>>> report.add_figs_to_section(fig, captions='Left Auditory', section='evoked') # doctest: +SKIP
>>> report.save('report.html', overwrite=True) # Update the HTML page # doctest: +SKIP
>>> # Updated report is automatically saved back to 'report.h5' upon leaving the block

That's it!

0 comments on commit 4f7f515

Please sign in to comment.