Skip to content

Conversation

@drammock
Copy link
Member

@drammock drammock commented Oct 7, 2021

closes #9783

@drammock drammock marked this pull request as ready for review October 7, 2021 19:56
@drammock drammock force-pushed the epo-scalebar-param branch from b039d5d to 49d91de Compare October 7, 2021 20:56
def test_plot_epochs_scale_bar(epochs, browse_backend):
"""Test scale bar for epochs."""
fig = epochs.plot()
fig._fake_keypress('s') # default is to not show scalebars
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default is True now, so we don't need the keypress anymore.

Copy link
Member

@hoechenberger hoechenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick re versionadded, otherwise LGTM!

@agramfort agramfort merged commit 48a33e3 into mne-tools:main Oct 8, 2021
@agramfort
Copy link
Member

thx @drammock !

larsoner added a commit to rob-luke/mne-python that referenced this pull request Oct 11, 2021
* upstream/main:
  MAINT: Update broken link, fix rendering (mne-tools#9829)
  Ensure plot_ica_sources() always plots traces of rejected ICs on top (mne-tools#9823)
  Improve plot_ica_sources() docstring (mne-tools#9825)
  MRG: Fix docstring for plot_ica_components() (mne-tools#9826)
  unpin jsonschema and filter its warning instead (mne-tools#9822)
  Add warning for SNIRF files with != 2 wavelengths (mne-tools#9817)
  add show_scalebars param to epochs.plot() (mne-tools#9815)
  MRG: Allow _plot_mri_contours() to return arrays (mne-tools#9818)
  MRG: Expand ~ in _check_fname() (mne-tools#9613)
  Improve ICA.plot_overlay() docstrings (mne-tools#9820)
  WIP, MAINT: Fix CircleCI (again) (mne-tools#9814)
  MRG, ENH: Add options to fit_dipole (mne-tools#9810)
  Rework Reports (new history) (mne-tools#9754)
  MRG, CI: Use VTK pre (mne-tools#9803)
@drammock drammock deleted the epo-scalebar-param branch October 12, 2021 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can Epochs.plot have a "show_scale_bar" parameter similarly to Raw.plot?

3 participants