-
Notifications
You must be signed in to change notification settings - Fork 208
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
ROI fix and improvement #2809
ROI fix and improvement #2809
Conversation
Codecov Report
@@ Coverage Diff @@
## RELEASE_next_patch #2809 +/- ##
======================================================
- Coverage 77.37% 75.67% -1.70%
======================================================
Files 202 202
Lines 30108 30118 +10
Branches 6579 6580 +1
======================================================
- Hits 23295 22793 -502
- Misses 5066 5587 +521
+ Partials 1747 1738 -9
Continue to review full report at Codecov.
|
…f list or tuple in `_parse_axes`. Raise ValueError if length of provided list/tuple doesn't match ROI dimensionality.
Thanks @jlaehne, I improved the dosctrings and consistency in the |
LGTM |
I corrected a few typos in the docstrings. Also realized that there are three |
Yes, indeed! I consolidated the docstring of the methods using |
There is one more occurence of the axis-docstring on line 999 ( |
Done, I have removed the docstring completely so that it is inherited from the parent class. |
Description of the change
When a right hand side axis is added to a signal plot, this axes will receive the matplotlib event instead of the left hand side axis. This doesn't play well with the ROI, because by default, matplotlib send event to the last added axis and most of the time, the right hand side axis is added last, and this breaks matplotlib events connection, because we connect the ROI with the matplotlib events of the left hand side axis
Progress of the PR
axes_manager
.upcoming_changes
folder (seeupcoming_changes/README.rst
),readthedocs
doc build of this PR (link in github checks)Minimal example of the bug fix or the new feature