New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRG, BUG, VIZ: Fix overlay times #8377
Conversation
@@ -289,8 +289,8 @@ def plot_epochs_image(epochs, picks=None, sigma=0., vmin=None, | |||
this_image = combine_func(this_data * scalings[this_ch_type]) | |||
# handle `order`. NB: this can potentially yield different orderings | |||
# in each figure! | |||
this_image, overlay_times = _order_epochs(this_image, epochs.times, | |||
order, overlay_times) | |||
this_image, _overlay_times = _order_epochs(this_image, epochs.times, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah it was overwriting overlay_times
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did I break this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example looks good, CI failure is spurious codecov failure. Merging. |
* fix bug * fstrings * style * safer? * what's new * touch tutorial to re-render
closes #8370