-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Improve report usability (#12901)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel McCloy <[email protected]>
- Loading branch information
1 parent
f35aa5a
commit 56e522b
Showing
13 changed files
with
510 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
:class:`mne.Report` HDF5 files are now written in ``mode='a'`` (append) to allow users to store other data in the HDF5 files, by `Eric Larson`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Improved reporting and plotting options: | ||
|
||
- :meth:`mne.Report.add_projs` can now plot with :func:`mne.viz.plot_projs_joint` rather than :func:`mne.viz.plot_projs_topomap` | ||
- :class:`mne.Report` now has attributes ``img_max_width`` and ``img_max_res`` that can be used to control image scaling. | ||
- :class:`mne.Report` now has an attribute ``collapse`` that allows collapsing sections and/or subsections by default. | ||
- :func:`mne.viz.plot_head_positions` now has a ``totals=True`` option to show the total distance and angle of the head. | ||
|
||
Changes by `Eric Larson`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{% extends "section.html.jinja" %} | ||
{% block html_content %} | ||
<figure class="figure mx-auto d-block"> | ||
{% if image_format == 'svg' %} | ||
<div class="d-flex justify-content-center"> | ||
{{ img|safe }} | ||
</div> | ||
{% else %} | ||
<img class="figure-img img-fluid rounded mx-auto my-0 d-block" alt="{{ title }}" | ||
src="data:image/{{ image_format }};base64,{{ img }}"> | ||
{% endif %} | ||
<figure class="figure mx-auto d-block"> | ||
{% if image_format == 'svg' %} | ||
<div class="d-flex justify-content-center"> | ||
{{ img|safe }} | ||
</div> | ||
{% else %} | ||
<img class="figure-img img-fluid rounded mx-auto my-0 d-block" alt="{{ title }}" | ||
src="data:image/{{ image_format }};base64,{{ img }}"> | ||
{% endif %} | ||
|
||
{% if caption is not none %} | ||
<figcaption class="figure-caption text-center">{{ caption }}</figcaption> | ||
{% endif %} | ||
</figure> | ||
{% if caption is not none %} | ||
<figcaption class="figure-caption text-center">{{ caption }}</figcaption> | ||
{% endif %} | ||
</figure> | ||
{% endblock html_content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.