-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
FIX: ICA.plot_properties wont accept new extrapolate argument of viz.… #6045
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
Conversation
|
@jscastanoc you have CI failure also you are using directly _plot_ica_topomap? why not using directly the public API? |
whoops, gonna check on that. And no, I get the error when calling ICA.plot_properties, that is the function that I am using |
Codecov Report
@@ Coverage Diff @@
## master #6045 +/- ##
=======================================
Coverage 88.98% 88.98%
=======================================
Files 402 402
Lines 73168 73168
Branches 12156 12156
=======================================
Hits 65105 65105
Misses 5186 5186
Partials 2877 2877 |
| title=None, show=True, outlines='head', contours=6, | ||
| image_interp='bilinear', head_pos=None, axes=None, | ||
| sensors=True, allow_ref_meg=False): | ||
| sensors=True, allow_ref_meg=False, extrapolate='box'): |
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.
is extrapolate='box' the default so this does not change any current behavior?
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.
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.
yes, 'box' is the old behavior
|
so we agree it's just for your personal usage that relies on a private
function?
… |
I would not agree that it's for personal use: Without this addition, we could not access the new extrapolate options implemented for topo-plotting (in pull-request #5754) when plotting ICA patterns (for example when calling ICA.plot_properties). I am not calling _plot_ica_topomap directly. |
|
@agramfort That's good change, I think, not personal use: the extrapolate arg should be available in all topo plotting functions in my opinion. This is something we agreed on in my PR, but I was to check and add support for |
|
what I don't get is that you only change the API of _plot_ica_topomap function which is private. Am I missing something? also @jscastanoc you should not open a PR from your master branch. |
the However, when calling Currently: I hope I could explain myself a bit clearer now. PS. Sorry about the PR from master, dont have much experience contributing to big projects. I'll keep that in mind for next time. |
|
@agramfort That is because |
|
@jscastanoc can you push a tiny commit to restart the CIs. You have spurious failure and I cannot restart azure myself it seems |
|
@jscastanoc can you add an entry to the BUG section of |
|
@jscastanoc can you rebase to make CIs happy? |
@agramfort all set, I think :D (apparently some of the tests are failing randomly ?) |
|
@jscastanoc can you rebase again? I don't manage to make circle green despite some restarts |
df0adee to
45ddfc9
Compare
|
@agramfort could you please give me a hint on this? I have no idea why that test is failing |
|
Circle falls over when building docs ( I don't know why this happens. |
|
can you merge current master to retrigger CIs? |
|
Look at the log, warnings become errors and there is this: I've pushed a commit to fix it |
|
thx @jscastanoc |
mne-tools#6045) * FIX: ICA.plot_properties wont accept new extrapolate argument of viz.plot_topomap * Update whats_new.rst
…plot_topomap
Reference issue
--
What does this implement/fix?
plot_topomap has included recently a "extrapolate" argument (#5754), however, the _plot_ica_topomap is not accepting this parameter. This pull request fixes this
Additional information