-
-
Notifications
You must be signed in to change notification settings - Fork 443
Update docstring in mouse_drag_callback.py
#8019
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8019 +/- ##
==========================================
+ Coverage 92.91% 92.97% +0.05%
==========================================
Files 647 647
Lines 60915 60975 +60
==========================================
+ Hits 56600 56689 +89
+ Misses 4315 4286 -29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Looks fine to me.
Test fails are unrelated, affecting everything right now 😢 |
examples/mouse_drag_callback.py
Outdated
Example printing line profile averages to the terminal while | ||
dragging lines in a shapes layer over an image. |
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 printing line profile averages to the terminal while | |
dragging lines in a shapes layer over an image. | |
This example shows how to use a mouse drag callback in napari to compute | |
and print the average intensity along a line Shape as it is moved over an Image layer. |
I just saw your comment on the issue -- sorry! -- I like the extra detail you had in the 2nd option there.
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.
I like this suggestion as well (or some variant that includes the more descriptive version from #8016 (comment))
Thank you!
I have implemented the suggested changes . Thank's for Feedback . Let me know, there is any changes. |
References and relevant issues
Closes #8016
Description
This PR updates the docstring/description in
mouse_drag_callback.py
to accurately describe the current behavior of the example.