-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] Fix GUI dipole data overlay (#869)
* test: added test_dipole_data_overlay to test a figure with both simulated data and loaded data * fix: updated _simulate_edit_figure to reflect current figure widgets * fix: added a function to check for existing averaged dipoles -The GUI can average and append the average to the dipole list at an earlier stage than plotting with "data to compare" specified. This solution checks for an existing average, if not it will return an average. -This fixes an issue where the average_dipoles function was throwing an error because it was passed a list with an averaged dipole already. * style: removed white space in docstring * feat: added check for empty list in _avg_dipole_check * docs: updated whats_new.rst
- Loading branch information
Showing
3 changed files
with
65 additions
and
6 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
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